JBoss Community

Variation in Max Heap size

reply from Ruchir Choudhry in Performance Tuning - View the full discussion

Hello,

 

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" we have tried to explain it.

Reply to this message by going to Community

Start a new discussion in Performance Tuning at Community