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:

  1. Open <Alfresco Community installation directory> and double-click the manager-windows.exe file.
  2. 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


  1. In <Alfresco Community installation directory>/tomcat/bin, open for editing the setenv.sh file.
  2. Find the following line:

    JAVA_OPTS="-XX:MaxPermSize=256M -Xms512M -Xmx4096M $JAVA_OPTS

     

  3. 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

     

  4. Save and close the setenv.sh file.

  5. Start Cameo Collaborator.

 

To increase the default JVM heap size for Cameo Collaborator on Windows


  1. In <Alfresco Community installation directory>/tomcat/bin, open for editing the setenv.bat file.
  2. Find the following parameter:

    --JvmMx4096M

     

  3. Replace the default argument with 6096M:
    --JvmMx6096M

     

  4. Save and close the setenv.bat file.

  5. Start Cameo Collaborator.

 

For more information, see Tuning the JVM in Alfresco Community Documentation.