me,myself,english and programming..

Archive for November, 2009

Eclipse and Tomcat – java.lang.OutOfMemoryError

Sunday, November 29th, 2009

To solve this problem, click on the JVM Settings under the Tomcat option and add these JVM Parameters. It will start Tomcat with 512Mb minimum heap size, increasing to 1Gb.

These give Tomcat enough heap size to load all the webapps.(well..it’s depending on your application also of course..)

-Xms512M -Xmx1g

eClipse JVM Parameter

 

p/s: it’s november already…