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
- Stop Cascade CMS.
- Edit the
cascade.sh file (found in the Cascade CMS installation directory).
- Add/Modify the
-Xss
parameter inJAVA_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"
- Restart Cascade CMS.
Windows (service)
- Using Windows Explorer, navigate into the tomcat\bin folder
- Right-click on the
CascadeCMSw.exe file and select Run as Administrator.
- In the Cascade CMS Properties UI, click on the Java tab.
- In the Thread stack size field, enter a value (4000 KB, for example)
- Click Apply/OK.
- Restart the Cascade CMS service.
Windows (command line)
- Stop Cascade CMS.
- Edit the cascade.bat
file (found in the Cascade CMS installation directory).
- Add/Modify the
-Xss
parameter inJAVA_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"
- Restart Cascade CMS.