Tuesday, 4 August 2015

Configuring Tomcat's Java Heap Size in Windows

Problem :

When Java Heasize is low. Tomcat could not able to create the Necessary jvm for certain request.  when you check the catalina.out log, it will throw insufficient memory.

Solution :

Increase the Java Heap Size of the Tomcat that is deployed through the below steps,

Go to the location of Tomcat installed Directory , C:\Program Files\Apache-Tomcat6\bin

Run the application to edit Java Properties tomcat6w

 

 

Capture1

 

Change the -Xms and -Xmx value according to  need of web application and physical Memory available in the server.

After making changes, Restart the tomcat Services.

No comments:

Post a Comment