8.20 Insufficient Java Heap Size Results in Failed Login

To increase the heap size on a Linux server running Tomcat, stop Tomcat and open a terminal window. In the terminal, run the following command, then restart Tomcat:

export CATALINA_OPTS="-Xms128m -Xmx1024m"

To increase the heap size on a Windows server running Tomcat, stop the Tomcat service, create a new environment variable called JAVA_OPTS, and set the value of the variable to -Xms128m -Xmx1024m, then restart the Tomcat service.

For information about stopping and starting Tomcat, see Starting and Stopping Tomcat.