码迷,mamicode.com
首页 > 系统相关 > 详细

Eclipse启动报错:An internal error occurred during: "Building workspace". GC overhead limit exceeded

时间:2016-08-03 11:51:59      阅读:591      评论:0      收藏:0      [点我收藏+]

标签:

今天启动Eclipse时发现右下角的building workspce走到2%时,不动了,Eclipse好长时间没反应,然后弹出错误信息:An internal error occurred during: "Building workspace". GC overhead limit exceeded。

如下图:

技术分享

上网搜了一下,说是要修改一下Eclipse安装下的eclipse.ini文件,增加Eclipse实例的内存分配,。打开eclipse.ini文件,内容如下:

  1. -startup  
  2. plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar  
  3. --launcher.library  
  4. plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20120913-144807  
  5. -product  
  6. org.eclipse.epp.package.jee.product  
  7. --launcher.defaultAction  
  8. openFile  
  9. --launcher.XXMaxPermSize  
  10. 256M  
  11. -showsplash  
  12. org.eclipse.platform  
  13. --launcher.XXMaxPermSize  
  14. 256m  
  15. --launcher.defaultAction  
  16. openFile  
  17. -vmargs  
  18. -Dosgi.requiredJavaVersion=1.5  
  19. -Dhelp.lucene.tokenizer=standard  
  20. -Xms512m  
  21. -Xmx1024m  

相应要编辑的行如下

  1. -Xms512m  
  2. -Xmx1024m  

修改并保存,重启Eclipse就ok了。

Eclipse启动报错:An internal error occurred during: "Building workspace". GC overhead limit exceeded

标签:

原文地址:http://www.cnblogs.com/yucongblog/p/5732079.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!