To successfully publish and review large projects, you must increase the default JVM heap size for Cameo Collaborator (Alfresco Community).
Before changing the default JVM heap size, you must stop Cameo Collaborator. For this, do the following:
- Open <Alfresco Community installation directory> and double-click the manager-windows.exe file.
- In the Alfresco Community - 5.0.d dialog, click the Stop All button.
To increase the default JVM heap size for Cameo Collaborator on OS X or Linux
- In <Alfresco Community installation directory>/tomcat/bin, open for editing the setenv.sh file.
Find the following line:
JAVA_OPTS="-XX:MaxPermSize=256M -Xms512M -Xmx4096M $JAVA_OPTS
- Replace the default argument of the -Xmx parameter with 6096M. As a result, the entire line looks like this:
JAVA_OPTS="-XX:MaxPermSize=256M -Xms512M -Xmx6096M $JAVA_OPTS
Save and close the setenv.sh file.
To increase the default JVM heap size for Cameo Collaborator on Windows
- In <Alfresco Community installation directory>/tomcat/bin, open for editing the setenv.bat file.
Find the following parameter:
--JvmMx4096M
- Replace the default argument with 6096M:
--JvmMx6096M
Save and close the setenv.bat file.
For more information, see Tuning the JVM in Alfresco Community Documentation.