eclipse产生错误:Unable to execute dex: GC overhead limit exceeded
来源:互联网 发布:java传智播客 百度云 编辑:程序博客网 时间:2024/05/17 02:00
Android打包时下面的错误:
Unable to execute dex: GC overhead limit exceeded GC overhead limit exceeded
产生这种错误是发生在GC占用大量时间为释放很小空间的时候发生的,这个是JDK6新添的错误类型。
追究发生这种问题的原因,很大可能是由于添加了相同的jar包导致,你就得排查是否添加了外部ar和 libs下jar一样的文件,这个是导致这种错误产生的一大主要方向。
如果排查了上面的这种结论,我就只能给你一个建议 修改eclipse参数
打开eclipse所在目录下该文件修改 \eclipse\eclipse.ini
-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20120913-144807
-product
org.eclipse.epp.package.jee.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
512M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
512m
--launcher.defaultAction
openFile
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Dhelp.lucene.tokenizer=standard
-Xms40m
-Xmx512m
2、之后进行修改:修改如下
-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20120913-144807
-product
org.eclipse.epp.package.jee.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
512M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
512m
--launcher.defaultAction
openFile
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Dhelp.lucene.tokenizer=standard
-Xms256m
-Xmx1024m
0 0
- eclipse产生错误:Unable to execute dex: GC overhead limit exceeded
- eclipse:Unable to execute dex: GC overhead limit exceeded
- eclipse出现Unable to execute dex: GC overhead limit exceeded
- Eclipse unable to execute dex:GC overhead limit exceeded
- eclipse出现"Unable to execute dex: GC overhead limit exceeded GC overhead limit exceeded"错误的解决办法
- eclipse Unable to execute dex: GC overhead limit exceeded GC overhead limit exceeded解决办法
- -------------Unable to execute dex: GC overhead limit exceeded
- Unable to execute dex: GC overhead limit exceeded
- 解决:Unable to execute dex: GC overhead limit exceeded
- 解决:Unable to execute dex: GC overhead limit exceeded
- Unable to execute dex: GC overhead limit exceeded GC overhead limit exceeded
- android运行时出现 Unable to execute dex: GC overhead limit exceeded 的错误。
- Android打包时下面的错误:Unable to execute dex: GC overhead limit exceeded
- unable to execute dex:GC overhead limit exceeded unable to execute dex:java heap space 解决方案
- 编译或打包程序时eclipse报Unable to execute dex: GC overhead limit exceeded或java heap space
- 编译或打包程序时eclipse报Unable to execute dex: GC overhead limit exceeded或java heap space .
- Conversion to Dalvik format failed: Unable to execute dex: GC overhead limit exceeded
- Conversion to Dalvik format failed: Unable to execute dex: GC overhead limit exceeded异常解决
- Maven环境的搭建&&Maven Eclipse插件的安装
- max_flow(Dinic)
- NotServingRegionException: Region is not online 错误总结
- 求小球落地5次后所经历的路程和第5次反弹的高度
- PL/SQL 记录集合IS TABLE OF的使用
- eclipse产生错误:Unable to execute dex: GC overhead limit exceeded
- 位域介绍
- opencv3.0+java 学习笔记(一) 环境搭建
- 源码换iPhone6,这活动这么屌 我家里人都不知道?
- 摄氏度华氏度转换(java)
- PING协议
- hbase过滤查询的两种方式
- 撒个撒大哥十大撒旦撒大哥撒大哥
- HDU-4920-Matrix multiplication