System Configuration

Modifying the Thread Stack Size

Warning: Do not change this parameter unless instructed to do so by Hannon Hill Product Support.
Note: The default thread stack size is 1M.

Linux/*nix

  1. Stop Cascade CMS.
  2. Edit the cascade.sh file (found in the Cascade CMS installation directory).
  3. Add/Modify the -Xss parameter in JAVA_OPTS. For example, the following sets the thread stack size to 4M:

    export JAVA_OPTS="-Xss4M -Xmx1024M -XX:MaxPermSize=256m -Djava.awt.headless=true -Dfile.encoding=UTF-8"

  4. Restart Cascade CMS.

Windows (service)

  1. Using Windows Explorer, navigate into the tomcat\bin folder
  2. Right-click on the CascadeCMSw.exe file and select Run as Administrator.
  3. In the Cascade CMS Properties UI, click on the Java tab.
  4. In the Thread stack size field, enter a value (4000 KB, for example)
  5. Click Apply/OK.
  6. Restart the Cascade CMS service.

Windows (command line)

  1. Stop Cascade CMS.
  2. Edit the cascade.bat file (found in the Cascade CMS installation directory).
  3. Add/Modify the -Xss parameter in JAVA_OPTS. For example, the following sets the thread stack size to 4M:

    set JAVA_OPTS="-Xss4M -Xmx1024M -XX:MaxPermSize=256m -Djava.awt.headless=true -Dfile.encoding=UTF-8"

  4. Restart Cascade CMS.