Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I allocate more than 1024 MB RAM on AVD?

I want to work with 1024MB or greater RAM sizes, but when I try to start my Virtual Device, I receive this error:

Failed to allocate memory: 8

After research, some solutions which did not work for me are:

  • Manually change avd's .ini files etc.
  • Run emulator as Administrator
  • Run from command line
  • a solution
  • another solution

System specifications:

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

Am using Android 4.2

like image 398
hakkikonu Avatar asked Feb 01 '13 01:02

hakkikonu


1 Answers

You should try to change you Emulator - if its Version is 20.

Here is a link that describes the problem: Emulator stops working after upgrading to version 20

Update

I have found also this link: Android Virtual Device (AVD) Emulator stopped working - its interesting, that in comments one user post follows: "Thought you might be interested to know, on my system I have 8gb of RAM, yet I was unable to set the Device ram size to 2048, but when lowering it to 1024 it worked."

Maybe the RAM managemetn is generally the problem for some Android SDK.

like image 121
MikroDel Avatar answered Sep 19 '22 17:09

MikroDel