Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android - Failed to allocate memory

Tags:

android

I'm getting this error when trying to launch the emulator:

[2011-10-21 16:25:02 - Emulator] Failed to allocate memory: 8
[2011-10-21 16:25:02 - Emulator] 
[2011-10-21 16:25:02 - Emulator] This application has requested the Runtime to terminate it in an unusual way.
[2011-10-21 16:25:02 - Emulator] Please contact the application's support team for more information.

Emulator setup

I tried tinkering with the launch setup without success:

launch setup

The 4.0 emulator runs just fine. Running on Windows XP.

like image 512
Yoav Avatar asked Dec 02 '22 00:12

Yoav


2 Answers

Setting device ram size to 512 fixed this.

like image 87
Yoav Avatar answered Dec 28 '22 11:12

Yoav


This is because of the memory allocation at the run time of and AVD either Reduce The RAM of that particular AVD or increase the RAM of the OS so that emulator can allocate that amount of required memory at their run time

Hope It may Help U all :)

like image 21
Spry Techies Avatar answered Dec 28 '22 10:12

Spry Techies