JBoss Community

Generall Memory Question

created by Andi Beckar in Performance Tuning - View the full discussion

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

Start a new discussion in Performance Tuning at Community