Eclipse Luna memory problem

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: