How to deal with PermGenError on tomcat instance ?

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

Un commentaire sur “How to deal with PermGenError on tomcat instance ?

Les commentaires sont fermés.

Propulsé par WordPress.com.

Retour en haut ↑

%d blogueurs aiment cette page :