Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Gc overhead limit exceeded is showing after adding google play services library

If I add google play services library to my project, then gc overhead limit exceeded is showing!

This is eclipse.ini content:

-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20140603-1326
-product
org.eclipse.epp.package.java.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
1024M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
1024m
--launcher.defaultAction
openFile
--launcher.appendVmargs
-vmargs
-Dosgi.requiredJavaVersion=1.6
-Xms512m
-Xmx1024m
like image 303
bebosh Avatar asked Nov 10 '22 20:11

bebosh


1 Answers

I was also facing the same problem. Then I set the values to 2048 for xms and xmx. However high CPU uses was observed for intial few seconds, but it worked.

-Xms2048m
-Xmx2048m
like image 104
Sandeep Kumar Avatar answered Jan 04 '23 01:01

Sandeep Kumar