Elezabeth Mathew
Elezabeth Mathew

Reputation: 161

How to run sample code in Amazon SDK for android?

I have downloaded aws-android-sdk-1.4.4. I tried to run the sample code provided in sdk. But i am not able run the code. It is not even loading. The eclipse gets stuck and is showing the following error:

Unable to execute dex: Java heap space
Java heap space

Upvotes: 2

Views: 388

Answers (1)

Gabe Sechan
Gabe Sechan

Reputation: 93561

This is an eclipse problem. In your eclipse folder, edit eclipse.ini in a text editor. You'll see a line

-XmsZZZm -XmxZZZm

The ZZZ is the amount of memory eclipse will use for different purposes. Increase it until it works. You'll need to restart eclipse each time you change it.

Upvotes: 2

Related Questions