Home

Give the tomcat a bit more memory

This memo explains how to increase the permgen memory for a tomcat server.

If Tomcat needs more memory than you have to add the following line to the catalina config file.

Windows (catalina.bat)

set JAVA_OPTS=%JAVA_OPTS% -server -Xms512M -Xmx768M -XX:MaxPermSize=128m

Grails 1.2 default PermGen memory is set to 96MB. The Sun JVMs default is 64MB. (Java HotSpot VM Options)

Memory


Date published:
Date modified: 2010-01-15
Keywords: Server, Memory, Tomcat