When I try to run my WXGA800 emulator from Eclipse it\'s giving an error like this
Failed to allocate memory: 8
This application has requested the Runtime to
This following solution worked for me. In the following configuration file:
C:\Users\<user>\.android\avd\<avd-profile-name>.avd\config.ini
Replace
hw.ramSize=1024
by
hw.ramSize=1024MB
In the AVD setup: Change the CPU/ABI option to MIPS. It worked for me
Changing the ramSize in config.ini file didnt work for me.
I changed the SD Card size to 1000 MiB in Edit Android Virtual Device window ...It worked! :)
Try this if other answers did not work for you.
For me This happened for API 27 Emulator.
API 26 Emulator worked just fine. So I started API 26 Emulator first and then closed it.
Then I started API 27 Emulator and It worked with No errors at all.
Update: Starting with Android SDK Manager version 21, the solution is to edit C:\Users\.android\avd\.avd\config.ini and change the value
hw.ramSize=1024 to
hw.ramSize=1024MB
OR
hw.ramSize=512MB
In my case, the solution was to change not only config.ini
but also hardware.ini
for the specific skin from hw.ramSize=1024
to hw.ramSize=1024MB
.
To find the hardware.ini
file:
config.ini
and locate skin.path
.android-sdk\platforms\android-15\skins\WXGA720
.hardware.ini
.hw.ramSize=1024
to hw.ramSize=1024MB
.