I\'m trying to start an emulator, but I keep getting the error Failed to allocate memory: 8.
There are some solutions to this problem, setting the RAM
You need to access avd config file that resides in:
C:\Users\Furqan\.android\avd\Gingerbread.avd
Here my user name is Furqan and Gingerbread.avd is the name of emulator device
there is config.ini file there, you can change ramsize or vm.heapSize=128
hw.ramSize=2048mb
Makesure ramsize should be in mb and similarly you can change any thing in the emulator from here easily.
avd.ini.encoding=ISO-8859-1
hw.sdCard=no
hw.device.manufacturer=Google
hw.mainKeys=yes
hw.lcd.density=320
hw.accelerometer=yes
hw.dPad=yes
hw.cpu.arch=arm
skin.name=720x1280
abi.type=armeabi
hw.device.hash=-708107041
hw.trackBall=no
hw.device.name=Galaxy Nexus
hw.camera.back=emulated
hw.sensors.proximity=yes
hw.battery=yes
disk.dataPartition.size=200M
image.sysdir.1=platforms\android-10\images\
hw.audioInput=yes
hw.sensors.orientation=yes
hw.camera.front=emulated
hw.gps=yes
skin.dynamic=yes
skin.path=720x1280
hw.keyboard=yes
vm.heapSize=128
hw.ramSize=2048mb
Note: hw.ramSize put mb in small case as upper case didnt work for me.