Hi
I set some additional jvm options:
JAVA_OPTS="$JAVA_OPTS -XX:+UseConcMarkSweepGC "
JAVA_OPTS="$JAVA_OPTS -XX:+CMSPermGenSweepingEnabled "
JAVA_OPTS="$JAVA_OPTS -XX:+CMSClassUnloadingEnabled "
regards
Stefan
----- Originalnachricht -----
Von: Juan Manuel Sánchez Martagón <
peruxho@...>
Gesendet: Die, 7.7.2009 09:37
An: Andrea Aime <
aaime@...>
Cc:
geoserver-users@...
Betreff: Re: [Geoserver-users] OutOfMemoryError running in Tomcat
Hello, I've tried changing this paramters but it goes on crashing :(
One more question. JAI libs could be realated to the problem? I've been thinking that JAI only are used to render coverages but I'm not sure now.
Thanks.
El 6 de julio de 2009 15:10, Andrea Aime <
aaime@...> escribió:
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.
------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize
details at:
http://p.sf.net/sfu/blackberry_______________________________________________Geoserver-users mailing list
Geoserver-users@...
https://lists.sourceforge.net/lists/listinfo/geoserver-users------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize
details at:
http://p.sf.net/sfu/blackberry_______________________________________________
Geoserver-users mailing list
Geoserver-users@...
https://lists.sourceforge.net/lists/listinfo/geoserver-users