I have an issue to run Android Map V2 project on Eclipse. Whenever I started Eclipse below error shown against my Map project.
Dex Loader} Unable to execute dex: Java heap space.
And when I clean project it resolve but When I start my project so Eclipse hangs and after some time below error shown.
Dex Loader} Unable to execute dex: Java heap space.
Conversion to Devlik format failed: Unable to execute dex: Java heap space.
I don't know what to do? I searched alot and followed many ways but not solved this problem. :( How can I solve it?
You need to modify the -XmsAm and -XmxBm parameters in eclipse.ini so that they are large enough. When you will see these parameters, the default will be -Xms40m and -Xmx384m. Increase the integer values to something like Xms512 and -Xmx512m and restart eclipse to see if this helps.
eclipse.ini is located at /etc/eclipse.ini in Ubuntu (assuming you installed Eclipse from the Ubuntu repositories).