Eclipse遇到GC超出限制超出错误时崩溃

编程入门 行业动态 更新时间:2024-10-27 18:23:26
本文介绍了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超出限制超出错误时崩溃

本文发布于:2023-10-16 00:44:16,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1495973.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:错误   Eclipse   GC

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!