Eclipse 崩溃并出现 GC 开销限制超出错误

2023-03-02Java开发问题
25

本文介绍了Eclipse 崩溃并出现 GC 开销限制超出错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

问题描述

这是我第一次使用 Proguard,我注意到如果您在 proguard-project.txt 中添加许多自定义规则,显然会花费更多时间来构建.这导致 Eclipse 崩溃报告 GC 开销限制超出 然后我不得不强制关闭 java,因为编辑器继续弹出错误和警报对话框.有什么办法可以避免 Eclipse 上的这些连续崩溃,从而解决报告的问题 这里也是?

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?

推荐答案

已修复,我阅读了所有其他论坛关于该问题的帖子,但没有人说如何在 Eclipse 上修复它.我找到了修复here

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

如果链接失效,您可以执行以下操作.编辑eclipse.ini",并设置类似的内容:

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 开销限制超出错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

The End

相关推荐

在 Eclipse 项目中使用西里尔文 .properties 文件
Use cyrillic .properties file in eclipse project(在 Eclipse 项目中使用西里尔文 .properties 文件)...
2024-08-25 Java开发问题
18

如何在java中找出依赖于语言环境的文本方向?
How to find out locale-dependent text orientation in java?(如何在java中找出依赖于语言环境的文本方向?)...
2024-08-25 Java开发问题
24

Eclipse 在尝试启动 Android 应用程序时卡住了
Eclipse gets stuck when trying to launch Android app(Eclipse 在尝试启动 Android 应用程序时卡住了)...
2024-08-25 Java开发问题
14

Eclipse:无法初始化监视器线程:无法建立环回连接
Eclipse: Failed to initialize Monitor Thread: Unable to establish loopback connection(Eclipse:无法初始化监视器线程:无法建立环回连接)...
2024-08-25 Java开发问题
4

Eclipse-找不到JDK
Eclipse- JDK not found(Eclipse-找不到JDK)...
2024-08-25 Java开发问题
6

错误:CreateProcess 错误=216,此版本的 %1
Error:CreateProcess error=216, This version of %1(错误:CreateProcess 错误=216,此版本的 %1)...
2024-08-25 Java开发问题
9