Child pages
  • Tomcat memory management (2.6)
Skip to end of metadata
Go to start of metadata

You can better manage Tomcat memory usage by creating a file defining JAVA_OPTS environment variable settings in the tomcat/bin directory.

Mac/Unix: create a file called and add the following line:

export JAVA_OPTS='-server -XX:+UseParallelGC -Xmx768m -XX:MaxPermSize=160m -Djava.awt.headless=true'

Windows: create a file called setenv.bat and add the following line:

set JAVA_OPTS=-server -XX:+UseParallelGC -Xmx768m -XX:MaxPermSize=160m -Djava.awt.headless=true
  • No labels