0

I installed the API Level 14,15 & 16 and Created separate Emulators for each API's. When start the any of the emulator its just loading but not running. But when i run the API 16 it show message like as Follows

"Starting emulator for AVD 'JellyBeans' Failed to allocate memory: 8 This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information." Error occuring

But API 8 and 10 all working perfectly.

Rajesh Rajaram
  • 3,271
  • 4
  • 29
  • 48
  • check these links http://stackoverflow.com/questions/5969067/android-failed-to-allocate-memory http://stackoverflow.com/questions/7222906/failed-to-allocate-memory-8 http://stackoverflow.com/questions/6659033/android-emulator-cannot-start http://droidsquad.blogspot.in/2011/04/android-virtual-device-avd-stopped.html http://forums.pragprog.com/forums/152/topics/10683 refer these links it will solve your problem – Goofy Jul 11 '12 at 06:34
  • http://code.google.com/p/android/issues/detail?id=33930. You should report this problem on Android "bug tracking" page and not here. – RedGlyph Sep 23 '12 at 10:56
  • As I mention here: http://stackoverflow.com/a/14420779/1993898 ---------- I was getting "failed to allocate memory: 8" messages as well. I was only attempting to run an API 14 emulator, so I cannot verify appearance under other API's. I was able to fix this error by running AVD "as Administrator", therefore I believe that the issue may be tied to filesystem permissions, or lack thereof. – Prymaldark Jan 20 '13 at 02:19

2 Answers2

2

Only way is reduce your RAM size up to the emulator start. Try with 512 MB not working, try with 256 MB not working, try with 128 MB..... No other way to solve this problem.

So reducing the RAM is the solution for the problem. Also refer, I have posted the same issue in google code and got the solution in this link.

In the above link they all saying to try with the RAM size 512 MB but, I say reduce RAM size until it works.

Community
  • 1
  • 1
Rajesh Rajaram
  • 3,271
  • 4
  • 29
  • 48
1

In my case, the issue is to set Hardward acceleration. For some reason It was defaulted to Software everytime I make an edit and save. Hence I had to update it forefully in config.ini file

hw.gps=yes
hw.gpu.enabled=yes
hw.gpu.mode=host
PravyNandas
  • 607
  • 11
  • 12