1.到eclipse安装目录,找到eclipse.ini文件,打开
2.
-startup
plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.100.v20110502
-product
org.eclipse.epp.package.jee.product
-showsplash
org.eclipse.platform
-vmargs
-Dosgi.requiredJavaVersion=1.6
-Xms512m
-Xmx1024m
-Xverify:none
-XX:+DisableExplicitGC
-XX:PermSize=128m
-XX:MaxPermSize=128m
3.-Xmx1024m改成-Xmx512m,问题解决