ArcGIS for Android -> Eclipse "out of memory"

2685
4
02-22-2011 08:32 AM
StanislavGusakov
New Contributor II
After installing Android Eclipse Plugins (SDK), eclipse just stopped working.
- Heap limit exceeded
- GC overhead limit exceeded
- Out of memory errors.
Can't even create a project.
Windows 7 x64.
Eclipse 3.6.1 Helios.
Without ArcGIS SDK eclipse works just fine.
Fix it please :S
0 Kudos
4 Replies
StanislavGusakov
New Contributor II
The same problem on Max Os X snow Leopard:
[2011-02-23 10:27:02 - Dex Loader] Unable to execute dex: Java heap space
[2011-02-23 10:27:02 - ArcGIS_1] Conversion to Dalvik format failed: Unable to execute dex: Java heap space
0 Kudos
StanislavGusakov
New Contributor II
Increasing heap (up to 1gb) does not help.
0 Kudos
StanislavGusakov
New Contributor II
ok resolved:
You also need to change the start, fixed and maximum values of heap:
Solution:
Locate eclipse.ini,
edit 4 values:

-startup
....
--launcher.XXMaxPermSize
512m
.....
-XX:MaxPermSize=512m
-Xms512m
-Xmx1024m
.....
0 Kudos
DeeptiKochhar
Esri Contributor
I had the same issue and could fix with increasing the vm. but I could not go up to 512 and 1024
0 Kudos