
The following are the 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
Problem: Total heap memory: 2 GB Old general: 1.4 GB (2/3 heaps) New generator: 600 MB (1/3 heaps)
The Old Gen grows in memory beyond 70% of its allocated size and is never exposed to GC even at 100%, i.e. 1.4 GB You can see that the graph is below its peaks and is never a GC; a memory drop occurs when it was forced by a GC with JConsole. This problem ultimately leads to the shutdown of the web server.
Anything I'm missing or mistakenly installing the JVM?
Thanks for the help in advance.
Update my question:
After analyzing the heap, it looks like a bean match session is the main suspect:
We have a beans state session that stores persistence logic supported by Hibernate.
source share