Friday, January 13, 2012

Configure catalina.bat for alfresco


Configure catalina.bat for Alfresco

Many of us facing permGen or memory related issues.
Here are some basic tweaks that will work on alfresco server. Since this configuration is based on hardware you have.

Open catalina.bat (alfresco\tomcat\bin)

define following setting before any JAVA_OPTS are set.
set JAVA_OPTS=%JAVA_OPTS% -Xms1024m -Xmx1024m -XX:MaxPermSize=512m
e.g. I set it before line “rem Guess CATALINA_HOME if not defined”

This setting is suitable when RAM is 2GB or more.

No comments:

Post a Comment