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
- Start your registry editor and access one of the following registry entries:
- On a 64-bit system, navigate to , where VERSION is your Tomcat version.
- On a 32-bit system, navigate to , where VERSION is your Tomcat version.
- Check for the presence of a key called JvmMs on the right. If you do not see it, create it as a DWORD key.
- Set the Value data of this key to 400 Hexadecimal or 1024 Decimal. A higher value will result in decreased Tomcat performance.
- Click OK.
- Check for the presence of a key called JvmMx on the right. If you do not see it, create it as a DWORD key.
- Set the Value data of this key to 400 Hexadecimal or 1024 Decimal. A higher value will result in decreased Tomcat performance.
- Click OK.
- Restart the Apache Tomcat service to use the new memory setting.