Tomcat PermGen Space

From snippet wiki
Jump to navigation Jump to search

Using a default debian setup use the /etc/defaults/tomcat7 file and add:

JAVA_OPTS="-Djava.awt.headless=true -Xmx128m -XX:+CMSClassUnloadingEnabled -XX:+UseConcMarkSweepGC"