现在的位置: 首页 > 综合 > 正文

————-Unable to execute dex: GC overhead limit exceeded

2018年03月20日 ⁄ 综合 ⁄ 共 337字 ⁄ 字号 评论关闭

http://fine36.blog.163.com/blog/static/1892510052013413112858940/

MyEclipse里面跑项目的时候,直接来了个这样的错误导致不能正常运行。MyEclipse也直接卡死不动了。

解决方法:
修改myeclipse.ini。添加如下配置:

openFile
--launcher.XXMaxPermSize
512M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
512m
--launcher.defaultAction
openFile
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms512m
-Xmx1024m


重新运行,OK!

抱歉!评论已关闭.