[jboss-user] [Performance Tuning] - Generall Memory Question

Andi Beckar do-not-reply at jboss.com
Fri Apr 1 04:32:03 EDT 2011


Andi Beckar [http://community.jboss.org/people/abeckar] created the discussion

"Generall Memory Question"

To view the discussion, visit: http://community.jboss.org/message/597091#597091

--------------------------------------------------------------
Hi there,
could anyone please explain the following to me.

Settings of my JVM: (jboss4.4.2 - java 1.5.0_10)
"-Xms128m -Xmx1536m -XX:MaxPermSize=512m -verbose:gc -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000"
# should be 2048MB

And this is what i see when the Machine is running a few hours:
--- snip cmd top ---
  PID USER      PR  NI  VIRT    RES   SHR    S    %CPU %MEM    TIME+     COMMAND                 
 7401 jboss      25    0   2802m  1.9g   291m  S    39        11.8         33:14.50  java     
--- snip cmd top END ---

why are the "RES" and the "VIRT" Mem even higher than my Setting tells the JVM to be ?
and how many jboss instances, with the above described JVM Settings, can i run on a single machine with 8GB RAM with the goal not to come in any SWAP Situations.

Thanks
Andi  ;)
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/597091#597091]

Start a new discussion in Performance Tuning at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2078]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110401/feaca7ca/attachment.html 


More information about the jboss-user mailing list