Documentation Center

Increasing Memory for Tomcat on a Windows System

On a Unix system, you have already configured memory allocation when you set the CATALINA_OPTS variable during installation. On a Windows system, change registry settings to allocate memory for Tomcat.

Procedure

  1. Start your registry editor and access one of the following registry entries:
    • On a 64-bit system, navigate to HKEY_LOCAL_MACHINE > SOFTWARE > WoW6432Node > Apache Software Foundation > Procrun2.0 > TomcatVERSION > Parameters > Java, where VERSION is your Tomcat version.
    • On a 32-bit system, navigate to HKEY_LOCAL_MACHINE > SOFTWARE > Apache Software Foundation > Procrun2.0 > TomcatVERSION > Parameters > Java, where VERSION is your Tomcat version.
  2. Check for the presence of a key called JvmMs on the right. If you do not see it, create it as a DWORD key.
  3. Set the Value data of this key to 400 Hexadecimal or 1024 Decimal. A higher value will result in decreased Tomcat performance.
  4. Click OK.
  5. Check for the presence of a key called JvmMx on the right. If you do not see it, create it as a DWORD key.
  6. Set the Value data of this key to 400 Hexadecimal or 1024 Decimal. A higher value will result in decreased Tomcat performance.
  7. Click OK.
  8. Restart the Apache Tomcat service to use the new memory setting.