Tomcat crashes all of sudden
Posted on 2012-04-06
We are getting out of memory errors for every 2 or 3 days for past 1 or 2 months.
Earlier we never faced this problem. It is working fine for past 3 years.
Only one change we made i.e. https. We configured https few months back.
The error looks like this :
Exception java.lang.OutOfMemoryError: requested 65536000 bytes for GrET* in /BUILD_AREA/jdk1.5.0_22/hotspot/src/share/vm/utilities/growableArray.cpp. Out of swap space?
Os is Centos 5 and 4 GB Ram and tomcat 6.0.20
CATALINA_OPTS="-server -XX:+UseParallelGC -Xmx2348m -Xms2348m -XX:NewSize=1024m -XX:MaxNewSize=1024m -XX:PermSize=128m -XX:MaxPermSize=128m -XX:SurvivorRation:6 *****"
If we increase the ram to 8GB or above will it solves the problem?