我的情况越来越糟了
An internal error occurred during: "Building workspace".
Java heap space
然后我就得到了
An out of memory has occured. COnsult the "Running Eclipse" section of the read me file on preventing such kind of error in future..........................
DO you want to exit the workbench?
发布于 2013-10-04 17:47:43
您可以使用该常见问题解答http://wiki.eclipse.org/FAQ_How_do_I_increase_the_heap_size_available_to_Eclipse%3F
它指示修改eclipse.ini
文件
重要的
--launcher.XXMaxPermSize
512m
--launcher.defaultAction
openFile
-vmargs
-Xms1024m
-Xmx2048m
-XX:+UseParallelGC
-XX:PermSize=512M
-XX:MaxPermSize=2048M
发布于 2013-10-04 18:02:52
只需将其添加到您的eclipse VM参数中。
-XX:MaxPermSize=256m -Xmx1024m
并重新启动服务器。
发布于 2014-05-25 06:27:30
转到Eclise.ini文件(C:\Program Files\eclipse-standard-kepler-SR2-win32-x86_64\eclipse\eclipse.ini)并使用记事本打开它进行编辑:-Xms256m -Xmx1024m (根据要求))
这将增加堆大小并克服错误。
PS:对于Windows 7和更高版本,“以管理员身份运行”只能保存更改。
https://stackoverflow.com/questions/19178125
复制相似问题