Unable to execute dex: GC overhead limit exceeded

来源:互联网 发布:iphone照片导入mac步骤 编辑:程序博客网 时间:2024/05/16 11:31

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!

0 0
原创粉丝点击