Juan Manuel Sánchez Martagón ha scritto:
> 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.
There has been a similar thread some time ago:
http://www.nabble.com/Apache-Tomcat-crashing...-td18988481.htmlbut in the end I don't think it provided much of a solution, it
seems to be related to system level issues.
What you can try is to:
- upgrade the java virtual machine to 1.6.0_14
- reduce the -Xmx and -Xmx to lower values (512M) and definitely
reduce the perm size, seems quite a bit too wide
Cheers
Andrea
--
Andrea Aime
OpenGeo -
http://opengeo.orgExpert service straight from the developers.
------------------------------------------------------------------------------
_______________________________________________
Geoserver-users mailing list
Geoserver-users@...
https://lists.sourceforge.net/lists/listinfo/geoserver-users