During medium user load, my Tomcat application slows down very much and I am forced to restart Tomcat in order to permit users to work.
The specs of the system are:
- Centos 5.4 64bit with 8GB RAM
- Tomcat 6
- A Bonita BPM webapp - which utilizes many Groovy calls / scripts
The system is running just the Tomcat, no DB or anything else.
When the application turns REALLY slow, a snapshot of the java memory is shown here.
Have you any ideas to help me fine tune the java memory parameters to help the system work? The current memory ops in Tomcat are these:
MEMORY_OPTS="-Xshare:auto -Xms3072m -Xmx6144m -XX:MaxPermSize=1536m"`
Should I use -XX: UseCompressedOops
or any other parameter to prevent this memory exhaustion?