Wednesday 11 January 2012

Tomcat needs excessive memory!

I get all the time PermGen and other memory errors while I start/run tomcat on a VPS (Virtual Private Server).

Solution: At least this has worked for me... Edit catalina.sh:

export CATALINA_OPTS="-XX:-DoEscapeAnalysis -XX:MaxPermSize=192m"

No comments:

Post a Comment