Increase Tomcat heap size on Windows if Tomcat is not a service

Procedure

  1. From the Windows desktop, right-click My Computer.
  2. Select Properties and click the Advanced tab.
  3. Click the Environment Variables button.
  4. Under System Variables, click New.
  5. Set the Variable Name to CATALINA_OPTS.
  6. Set the Variable Value to -Xms1024m -Xmx1024m.

    For values to set in this step, see JVM heap size considerations.

  7. Click OK until the properties settings dialog closes.