Thursday, November 5, 2009

Configure Tomcat JVM heap size

Running Tomcat using catalina.bat

Windows
1. Set the CATALINA_OPTS -Xms512m -Xmx1024m in the environment variables.
2. Open the command %CATALINA_HOME%/bin catalina.bat run
3. Open browser- go to tomcat index.html
4. Click Status tab left side the screen
5. Check the JVM values

it should display what ever we entered in the CATALINA_OPTS parameter in the environment variable

*note: if a dos prompt is already open close it and open a new dos prompt and run the "catalina.bat run"

No comments:

Post a Comment