我已经导入google play service library
了我的一个应用程序,现在我的eclipse挂起并且在我尝试仅运行此应用程序时内存不足.在发布之前没有错误消息,我只是尝试了几次但没有成功.
Eclipse向我展示了这条消息:
Unable to execute dex: Java heap space Conversion to Dalvik format failed: Unable to execute dex: Java heap space
在各种帖子中指出的eclipse.ini中增加内存之后,我得到了这个新错误:
Unable to execute dex: GC overhead limit exceeded GC overhead limit exceeded
在这里我的eclipse.ini:
-startup plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar --launcher.library plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.200.v20120913-144807 -showsplash org.eclipse.platform --launcher.XXMaxPermSize 256m --launcher.defaultAction openFile -vmargs -Xms1024m -Xmx1024m -XX:-UseCompressedOops -Dorg.eclipse.swt.browser.DefaultType=mozilla
有人能帮我吗?我不知道如何解决这个问题......
您必须手动编辑文件-XmsAm
和-XmxBm
参数eclipse.ini
以增加内存.试试吧.
/sf/ask/17360801/