Eclipse遇到GC超出限制超出错误时崩溃 [英] Eclipse crashes with a GC overhead limit exceeded error

查看:141
本文介绍了Eclipse遇到GC超出限制超出错误时崩溃的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是我第一次使用Proguard,我注意到,如果您向 proguard-project.txt 添加了许多自定义规则,则显然需要更多的时间来构建。这是因为Eclipse崩溃报告超出 GC开销限制,然后我必须强制关闭java,因为编辑器继续弹出错误和警报对话框。有没有办法避免这些连续崩溃在Eclipse上,所以解决问题报告这里

解决方案

修正了,我读了所有其他论坛帖子关于这个问题,但没有人说将其修复到Eclipse。我发现修复 here






编辑:如果链接死机,这是您可以做的。编辑eclipse.ini,并设置如下:

  -XX:MaxPermSize = 1024m 
-Xms512m
-Xmx1024m


It's the first time I am using Proguard, I've noticed that if you add many custom rules to proguard-project.txt it takes obviously much more time for building. That's cause Eclipse to crash reporting a GC overhead limit exceeded and then I have to force the shut down of java because the editor continues to pop out error and alert dialogs. Is there any way to avoid these continuous crashes on Eclipse and so fix the problem reported here too?

解决方案

Fixed, I read all the others forum posts about the problem but no one said how to fix it on Eclipse. I found the fix here


EDIT: in case the link becomes dead, here's what you can do. Edit "eclipse.ini", and set something like that:

-XX:MaxPermSize=1024m
-Xms512m
-Xmx1024m

这篇关于Eclipse遇到GC超出限制超出错误时崩溃的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆