I want to work with 1024MB or higher RAM sizes but when I try to start my Virtual Device it is giving the error:

Failed to allocate memory: 8

I researched many thing about this issue;

Some releated solutions are;

  • Manually change the AVD's .ini files etc.
  • Run emulator as Administrator
  • Run from commant line

All of them did not work for me.

My system is:

  • 64bit Windows 7
  • i7 3610QM CPU
  • 8GB RAM
  • 2GB Graphic card

Android 4.2 is the version that I am trying to use.


1 Answer 1


In the 'Create new Android Virtual Device' window in Eclipse it says, "On Windows, emulating RAM greater than 768M may fail depending on the system load. Try progressively smaller values of RAM if the emulator fails to launch."

As answered here https://stackoverflow.com/questions/8853541/why-cant-i-boot-an-avd-from-eclipse-with-1024-mb-of-ram, there is a .ini file you can edit in [username]\.android\avd[avd name.avd]\config.ini that you can edit by changing 'hw.ramSize=1024' to 'hw.ramSize=1024MB'. I tried it and it worked for me.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .