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
--------------------------------------------------------------
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
http://community.jboss.org/docs/DOC-15623?uniqueTitle=false" we have tried to explain
it.
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/553863#553863]
Start a new discussion in Performance Tuning at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]