简体   繁体   English

带有Eclipse的Android:库google_play_service出现错误“ GC开销限制访问”

[英]Android with Eclipse: error “GC overhead limit access” with the library google_play_service

i have some problem with Eclipse: it does not load the project on my phone / avd, the error is "GC overhead limit access", I tried to increase the memory of eclipse (from 256 to 1024) but the error persists, this always happens when I load the library google_play_service. 我对Eclipse有一些问题:它无法在我的电话/ avd上加载项目,错误是“ GC开销限制访问”,我试图增加eclipse的内存(从256到1024),但是错误仍然存​​在,总是这样加载库google_play_service时发生。 What can I do? 我能做什么? Thank you  谢谢你

Open you eclipse properties file and increase the file size as below. 打开您的Eclipse属性文件,并按如下所示增加文件大小。

-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.200.v20140603-1326
-product
org.eclipse.epp.package.standard.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
--launcher.appendVmargs
-vmargs
-Dosgi.requiredJavaVersion=1.7
-Xms512m
-Xmx1024m

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM