如何修复此错误“在 Eclipse 中超出了 GC 开销限制”。当我使用来自 ADT android 的图形布局时出现此问题。
最佳答案
eclipse.ini 文件可以编辑。 增加内存使用的值。 请参阅下面的示例 eclipse.ini 文件。
--launcher.XXMaxPermSize
512M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
512m
--launcher.defaultAction
openFile
--launcher.appendVmargs
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
512m
--launcher.defaultAction
openFile
--launcher.appendVmargs
-vmargs
-Dosgi.requiredJavaVersion=1.6
-Xms512m
-Xmx1024m
关于java - 如何修复此错误 "GC overhead limit exceeded in Eclipse",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19570209/