Increase Heap Size in Java

Tomcat on Windows (started manually)
If you run Tomcat (eg. from JIRA Standalone) on Windows, and are starting it manually by running bin\startup.bat, edit bin\setenv.bat and add the line:
setenv.bat
set JAVA_OPTS=-Xms256m -Xmx256m
and then restart. Adjust 256 to the maximum memory you want to allocate.
If bin\setenv.bat does not exist, create it.

Comments