[jboss-user] [Performance Tuning] - Variation in Max Heap size

Ruchir Choudhry do-not-reply at jboss.com
Thu Jul 22 02:48:27 EDT 2010

Ruchir Choudhry [http://community.jboss.org/people/ruchirc] replied to the discussion

"Variation in Max Heap size"

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


Can you provide specific details as listed below.

01> What type of platform you are using
02> What is the total RAM of the Machine
03> how many CPUs you have on the box and what type of CPUs you have
04> please avoid using "-server" as a input parameter to the JVM, JDK1.5 onwards dose it automatically for you, it checks the os to get this value
05> Based on the details which you have provided i think this will work
-Xmx2048m -Xms2048m -XX:MaxNewSize=256m -XX:NewSize=256m -XX:MaxPermSize=128m -XX:SurvivorRatio=8 -XX:TargetSurvivorRatio=90 -XX:MaxTenuringThreshold=0 -XX:CMSInitiatingOccupancyFraction=60 -XX:LargePageSizeInBytes=5m -XX:ParallelGCThreads=20   -XX:+StringCache -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:ThreadStackSize=1024 -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000

06> Try to go through this articel " http://community.jboss.org/docs/DOC-15623?uniqueTitle=false http://community.jboss.org/docs/DOC-15623?uniqueTitle=false" we have tried to explain it.


Reply to this message by going to Community

Start a new discussion in Performance Tuning at Community

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

More information about the jboss-user mailing list