Tuesday, January 20, 2009

Problems with Uportal giving a PermGen space error while using a hibernate portlet.

Apparently

PermGen space is controlled by a different java option:

So I wound recommend using

CATALINA_OPTS "-Xms1024m -Xmx2048m -XX:MaxPermSize=512m -XX:+CMSClassUnloadingEnabled -XX:+CMSPermGenSweepingEnabled"

as options for your tomcat server.