Eclipse and Tomcat – java.lang.OutOfMemoryError
Sunday, November 29th, 2009To 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

p/s: it’s november already…
