I am getting an "Out of Memory" error running my JSP applications under Tomcat. How do I increase the default JVM heap size settings that Tomcat uses upon startup?

Chris Leonardi

Specify the JVM heap size in $TOMCAT_HOME/bin/tomcat.sh. You can specify '-Xmx256m -Xms128m' as part of TOMCAT_OPTS. That'll set your max/min JVM heap size to 256/128MBs, for example.

0 Comments  (click to add your comment)
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.