Gc upper limit exceeded after adding google game services library

If I add the Google game services library to my project, it will exceed the gc limit!

This is the content of eclipse.ini:

-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 
+5
source share
1 answer

I also had a problem. Then I set the values ​​to 2048 for xms and xmx. However, a lot of CPU usage was observed in a few seconds, but it worked.

 -Xms2048m -Xmx2048m 
+1
source

Source: https://habr.com/ru/post/1210543/


All Articles