Sunday, December 28, 2008

Tomcat Out Of Memory

Tomcat keeps running out of memory with jasperserver and a grails app.

Increasing the memory as per http://grails.org/FAQ#Application%20Servers
increasing the memory seems to help.

Added the following line to the top of my catalina.sh

export JAVA_OPTS="-Xms512M -Xmx512M -XX:MaxPermSize=1024m"



Apparently MaxPermSize is seperate from the -xMx heap setting.


http://wiki.caucho.com/-XX:MaxPermSize

No comments:

Post a Comment