Eclipse crashes with a GC overhead limit exceeded error

我与影子孤独终老i 提交于 2019-11-27 18:23:34
Silvio

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


EDIT: 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

Remove all errors and warnings from your layouts. Make sure you are running the eclipse in admin mode (windows users) Go to your eclipse folder location -> open eclipse.ini file then make sure to match following.

-Dosgi.requiredJavaVersion=1.6-Xms512m-Xmx1024m

this may help you a little bit.

and

Change Target SDK in your manifest to 18 for the time being to avoid the crashes. Issue is with android-19. Wait for another update before switching back.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!