问题描述:Eclipse打开编译工程时报错:An internal error occurred during: "Building workspace". Java heap space
解决方法:
内存溢出问题。可以通过修改myeclipse.ini文件解决,一例如下。
优化之后的ini文件内容:
-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar
-vm
C:\Program Files\Java\jdk1.7.0_17\bin\javaw
--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
1024m
--launcher.defaultAction
openFile
--launcher.appendVmargs
-vmargs
-Dosgi.requiredJavaVersion=1.7
-Xms40m
-Xmx1024m