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

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

如下图:

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

[html] view plain copy

  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

相应要编辑的行如下

[html] view plain copy

  1. -Xms512m
  2. -Xmx1024m

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

时间: 2024-10-13 14:05:39

Eclipse启动报错:An internal error occurred during: "Building workspace". GC overhead limit exceeded的相关文章

eclipse一直报An internal error occurred during: "Building workspace". GC overhead limit exceeded

最近导入到eclipse里的工程挺大的,每次eclipse启动之后都回update workspace,然后就一直报: An internal error occurred during: "Building workspace". GC overhead limit exceeded 这个错误. 解决方法: 原因是Eclipse默认配置内存太小需要更改Eclipse安装文件夹下的eclipse.ini文件. Eclipse.ini默认文件如下: 修改如下: -Xms512m -Xmx

eclipse:An internal error occurred during: "Building workspace". GC overhead limit exceeded

http://blog.csdn.net/shaozhang872196/article/details/18552273 http://www.cnblogs.com/sonofelice/p/5227689.html https://docs.oseems.com/general/application/eclipse/fix-gc-overhead-limit-exceeded Eclipse崩溃了,就把Eclipse使用的JRE的内存调高些!

An internal error occurred during: "Building workspace". GC overhead limit exceeded

1 错误描述 2 错误原因 3 解决办法

Eclipse:An internal error occurred during: "Build Project". GC overhead limit exceeded

在使用Eclipse的Build Project功能时,提示以下错误: An internal error occurred during: "Build Project". GC overhead limit exceeded 如图: 搜索的一下,是属于java.lang.OutOfMemoryError. OOM大家都知道,就是JVM内存溢出了,那GC overhead limit exceed呢? GC overhead limt exceed检查是Hotspot VM 1.6定

Eclipse启动报错:An internal error occurred during: "Updating indexes".org/eclipse/core/runtime/internal/adaptor/BasicLocation解决方法

Eclipse一直用的好好的,突然这两天每次启动都会出现如下的错误:An internal error occurred during: "Updating indexes".org/eclipse/core/runtime/internal/adaptor/BasicLocation,刚开始没有在意,以为是机器的内存不够导致,但后来发现不是怎么回事,刚开机,打开Eclipse也报这个错误.找到Eclipse的日志文件,workspace/.metadata/.log,查询"

导入Jar报错An internal error occurred during: "Building workspace". zip END header not found

百度了好久都没有找到答案,后来新建了一个文件夹,再build path就正常了,不知道为什么 原文地址:https://www.cnblogs.com/zzcsza/p/11984882.html

Eclipse构建项目时"An internal error occurred during: "Building workspace". Java heap space"

出现这个错误,eclipse 会卡死,以及自动退出 解决方案 工程根目录 找到项目中.project文件 删除这两处 第一处: <buildCommand> <name>org.eclipse.wst.jsdt.core.javascriptValidator</name> <arguments> </arguments> <ildCommand> 第二处: <nature>org.eclipse.wst.jsdt.cor

MyEclipse for Spring启动时报错&quot;An internal error occurred during: &#39;Updating indexes&#39;.Java heap space&quot;的解决办法

问题 MyEclipse for Spring在启动时,报如下错误:An internal error occurred during: 'Updating indexes'.Java heap space 解决办法 对于这种问题,可以采用禁止MyEclipse的updating indexes的方法来解决. Window -> Preferences -> Myeclipse -> Maven4Myeclipse,禁用Download repository index updates

eclipse里报:An internal error occurred during: &quot;Building workspace&quot;. Java heap space

当在eclipse中的web工程中增加了extjs4,出现An internal error occurred during: "Building workspace". Javaheap space 错误. 解决办法1:把extjs4的工程安装包不要放到web工程中就ok或者建议直接用myeclipse直接导入的exjts4包,就没问题. 解决办法2:导入ExtJS包,这样会卡死eclipse的.去到工程根目录下,找到.project,用记事本打开,把两处删除掉: 第一处: <