Problem:
Booting Tomcat in MyEclipse, reporting insufficient memory during program startup, Java.lang.OutOfMemoryError:Java Heap space
From the error it can be seen that the heap memory is too small to configure the JVM heap memory size.
Changes need to be made from three locations:
1, modify from intalled JREs; window->preferences->java->installed jres, select the current JRE and edit it;
Set the default VM arguments to-xms512m-xmx1024m in a new window ; This setting is valid for all projects (previously encountered because of the small configuration here, covered by the Tomcat configuration, resulting in or not)
2, if only want to be effective for a project, from the debug ... or run ... In the (x) =arguments, the same parameters as above can be set;
3, if the kitten Tomcat words, window->preferences->application Servers->tomcat->tomcat 6.x, select the JDK settings can be;
MyEclipse launch Tomcat project out of Memory:java heap space