"Building workspace". GC overhead limit exceeded

这是我今天打开多个Eclipse工具,因为eclipse放在不同的盘,导致:今天启动Eclipse时发现右下角的building workspce走到2%时,不动了,Eclipse好长时间没反应,然后弹出错误信息:An internal error occurred during: "Building workspace". GC overhead limit exceeded这个问题

解决方案:

"Building workspace". GC overhead limit exceeded_第1张图片

-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20150204-1316
-product
org.eclipse.epp.package.jee.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
--launcher.appendVmargs
-vmargs
-Dosgi.requiredJavaVersion=1.6
-Xms40m
-Xmx512m

修改为

-Xms512m
-Xmx1024m

重启eclipse工具

你可能感兴趣的:("Building workspace". GC overhead limit exceeded)