Select to view content in your preferred language

ArcGIS for Android -> Eclipse "out of memory"

2873
4
02-22-2011 08:32 AM
StanislavGusakov
Emerging Contributor
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
Emerging Contributor
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
Emerging Contributor
Increasing heap (up to 1gb) does not help.
0 Kudos
StanislavGusakov
Emerging Contributor
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