me,myself,english and programming..

Eclipse and Tomcat – java.lang.OutOfMemoryError

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…

Post a Comment