AnsweredAssumed Answered

Memory settings for default Alfresco+TomCat installations

Question asked by kevinr on Jan 4, 2006
Latest reply on Jan 10, 2006 by omegerard
FYI… The default memory settings for the Alfresco+Tomcat bundles are very low - they are using the JVM default of 64MB unless you explicity set it to another value.

We suggest that you change the JAVA_OPTS variable to increase the memory to 512mb or greater depending on your machine specifications. We also suggest that you run with the "-server" option on unix machines.

Windows:
Edit the following line (approx line 95) in the 'catalina.bat' file to change the maximum JVM size to 512MB.
set JAVA_OPTS=-Xmx512m

Unix:
Add the following line below to the beginning of the 'catalina.sh' file to change the maximum JVM size to 512MB.
JAVA_OPTS="$JAVA_OPTS -Xmx512m"

Or just define an environment variable JAVA_OPTS=-Xmx512m

This significantly improves the performance of Alfresco on TomCat.

You should find that JBoss installations on windows are already set to use 512mb by default, you may also wish to check your linux jboss installations if applicable.

Thanks,

The Alfresco Team

Outcomes