Modifying the Thread Stack Size

IMPORTANT!

Do not change this particular parameter unless instructed to do so by **Hannon Hill**.

Linux/*nix

  • Stop Cascade Server
  • Edit the file cascade.sh (found in the Cascade root directory)
  • Add/Modify the -Xss parameter on line 2: export JAVA_OPTS="-Xss1M -Xmx1024M -XX:MaxPermSize=256m -Djava.awt.headless=true -Dfile.encoding=UTF-8" For example, the line above sets the thread stack size to 1M.
  • Restart Cascade Server

Windows (command line)

  • Stop Cascade Server
  • Edit the file cascade.bat (found in the Cascade root directory)
  • Add/Modify the -Xss parameter on line 3: set JAVA_OPTS=-Xss1M -Xmx1024M -XX:MaxPermSize=256m -Djava.awt.headless=true -Dfile.encoding=UTF-8 For example, the line above sets the thread stack size to 1M.
  • Restart Cascade Server

Windows (service)

  • Navigate to the \tomcat\bin directory and find the file named tomcat5w.exe
  • Make a copy of this file and rename it cascadew.exe (**note:** if cascadew.exe already exists, skip to the next step)
  • Double-click the file cascadew.exe
  • In the configuration UI click on the Java tab.
  • In the Thread stack size field, enter a value (**1000** KB, for example)
  • Click Apply
  • Restart the Cascade service