PS Old Gen memory in Heap Memory Usage: GC settings
|September 12, 2014||Posted by forumadmin under TechQns||
Below are my JVM settings:
JAVA_OPTS=-server -Xms2G -Xmx2G -XX:MaxPermSize=512M -Dsun.rmi.dgc.client.gcInterval=1200000 -Dsun.rmi.dgc.server.gcInterval=1200000 -XX:+UseParallelOldGC -XX:ParallelGCThreads=2 -XX:+UseCompressedOops -Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs=org.jbos88,server=y,suspend=n
Total Heap Memory: 2GB
Old Gen: 1.4GB (2/3 of Heap)
New Gen: 600MB(1/3 of Heap)
The Old Gen grows in memory beyond 70% 0f its allocated size and never is subjected to GC even at 100% i.e 1.4GB.
One can see the graph below it peaks and never is GC, the drop in memory is when it was forced to GC from the JConsole.
This problem is eventually bringing the web server down.
Anything that i am missing or wrongly setting the JVM?
Thanks for the help in advance.
|Asked By – amitsalyan||Read Answers|