I saw there are more topics about this problem, but I don't found any solution for my case.
I tried :
-> Clean Project / Restart Eclipse (and Mac too)
-> Change XMS size in eclipse.ini
-> Delete JAR and add again
I saw this "crash" doesn't appear if I uncheck "android privates libraries" in my project's properties..... Why ? What am I supposed to do ?
If you have changed the xms, that does not help with GC overhead limits, as it sets up the starting heap size, not the heap size.
As a summary, the following common options are used to manage the JVMs memory usage:
Related your original issue, I'd look at the maximum heap size setting (you can look at the settings your Eclipse started in Help/Installation details..., and select the configuration page; see screenshot below). If that is in the 512M-1G ballpark, I'd try to increase it, if it's over 2GB, there is something that leaks memory excessively.
Furthermore, as you are using Mac, you should look at the Info.plist file inside of your installation, as it might have additional related settings as well.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.