Luc*_*ini 16 eclipse google-maps hang
我已经导入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
Run Code Online (Sandbox Code Playgroud)
在各种帖子中指出的eclipse.ini中增加内存之后,我得到了这个新错误:
Unable to execute dex: GC overhead limit exceeded
GC overhead limit exceeded
Run Code Online (Sandbox Code Playgroud)
在这里我的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
Run Code Online (Sandbox Code Playgroud)
有人能帮我吗?我不知道如何解决这个问题......
小智 5
您必须手动编辑文件-XmsAm和-XmxBm参数eclipse.ini以增加内存.试试吧.
| 归档时间: |
|
| 查看次数: |
4888 次 |
| 最近记录: |