« Return to Thread: OutOfMemoryError running in Tomcat

OutOfMemoryError running in Tomcat

by Juan Manuel Sánchez Martagón-2 :: Rate this Message:

Reply to Author | View in Thread

Hello, I'm running Geoserver in a Tomcat 5.5.27 instance deployed in a Red Hat Server with 2Gb of memory and JDK 1.5.

Surprisingly, geoserver crashes after a few request, specially when the requested envelope is small (near 100m X 100m).

The exception is: Exception in thread "http-8080-Processor25" java.lang.OutOfMemoryError: requested 16 bytes for CHeapObj-new. Out of swap space?

and the catalina.sh script for run tomcat has the next options (as I read on: http://geoserver.org/display/GEOSDOC/2.6+GeoServer+in+Production+Environment)

JAVA_OPTS="-Djava.awt.headless=true -server -Xms1000M -Xmx1000M -XX:SoftRefLRUPolicyMSPerMB=36000 -XX:PermSize=500M -XX:MaxPermSize=500M -XX:+UseParallelGC"

Any advice please? Thank you very much.

------------------------------------------------------------------------------

_______________________________________________
Geoserver-users mailing list
Geoserver-users@...
https://lists.sourceforge.net/lists/listinfo/geoserver-users

 « Return to Thread: OutOfMemoryError running in Tomcat