Home > Android > Eclipse Luna memory problem

Eclipse Luna memory problem

2015/07/10

Some weeks ago i fought a battle with Eclipse.
I made updates to my PlaceMinder project , updating the Android SDK and some code changes.
The project was working before, now trying to launch on the device (anyone was ever able to get the emulator working?…) errors about “heap space” and “out of memory”.
I was not understanding , because another project even more complex, in another workspace, was working after the SDK updates.
The solution was to modify the eclipse.ini, by changing the last lines from the default values to:

-Xms512m
-Xmx1024m

And my app was finally installed on the device.

Advertisements
Categories: Android
%d bloggers like this: