Modifying the Heap Size

Linux/*nix

  1. Stop Cascade CMS
  2. Edit the cascade.sh file (found in the Cascade CMS root directory).
  3. Add/Modify the -Xmx and -Xms parameters in JAVA_OPTS. For example, the following line sets both the minimum and maximum heap size to 2048M:

    export JAVA_OPTS="-Xmx2048M -Djava.awt.headless=true -Dfile.encoding=UTF-8"

  4. Start Cascade CMS.

Windows (service)

  1. Right-click the CascadeCMSw.exe file (found in tomcat/bin) and select the Run as Administrator option.
  2. In the configuration UI click on the Java tab.
  3. Enter a value for the Initial memory pool field.
  4. Enter a value for the Maximum memory pool field.
  5. Click Apply.
  6. Restart the Cascade CMS service.

Windows (command line)

  1. Stop Cascade CMS.
  2. Edit the cascade.bat file (found in the Cascade CMS root directory).
  3. Add/Modify the -Xmx and -Xms parameters in JAVA_OPTS. For example, the following line sets both the minimum and maximum heap size to 2048M:

    set JAVA_OPTS="-Xms2048M -Xmx2048M -Djava.awt.headless=true -Dfile.encoding=UTF-8"

  4. Start Cascade CMS.