I have juste been confronted to some PermGenSize Error on a tomcat instance containing big apps (I known, it's not THE right solution to run apps…)

so to deal wioyjh such issue, i've modified Tomcat JAVA_OPTS like bellow:

Tomcat permgen size error

export JAVA_OPTS="-Xms256m -Xmx512m -XX:+CMSClassUnloadingEnabled -XX:+UseConcMarkSweepGC -XX:+CMSPermGenSweepingEnabled -XX:MaxPermSize=256m"

Have fun !

McG.
Publicités