0

I am new to Android. I create a small app by seeing android site but when I run the app I am getting fallowing error for device emulator .

[2014-02-14 15:47:59 - Emulator] Failed to allocate memory: 8
[2014-02-14 15:47:59 - Emulator] 
[2014-02-14 15:47:59 - Emulator] This application has requested the Runtime to terminate it in an unusual way.
[2014-02-14 15:47:59 - Emulator] Please contact the application's support team for more information.

can any one please help me in this?

Looking Forward
  • 3,579
  • 8
  • 45
  • 65
Raghavendra M
  • 199
  • 2
  • 3
  • 8
  • Do you have android SDK installed properly? – Brendon Feb 14 '14 at 10:33
  • yes . . I downloaded from android site . . adt bundle . . & I openned Eclipse create layout and create emulator after I run the program . .I got those error . . – Raghavendra M Feb 14 '14 at 10:35
  • what is your system ram size installed? – Brendon Feb 14 '14 at 10:37
  • Normally to dealing with Eclipse IDE you must have atleast 4 GB of ram. – Brendon Feb 14 '14 at 10:48
  • @Brendon : Is it so? I have a 2gb RAM system. Even I have used Eclipse in a 1 GB RAM system also. what say? – Sahil Mahajan Mj Feb 14 '14 at 10:51
  • Eclipse will getting open even in a 512mb ram, instead if you need a good performance while creating projects it needs 4Gb ram, yes its possible at 1Gb ram only if u r not multi tasking many applications.. Learn Memory allocations and you know. – Brendon Feb 14 '14 at 10:54

1 Answers1

1

This error means you are allowing your emulator to use too much memory, relative to the amount your computer has or is using. To solve it, open your AVD manager, select the emulator and click Edit, and change the RAM to a smaller number.

See here : Failed to allocate memory: 8

Community
  • 1
  • 1
Chris Neve
  • 2,164
  • 2
  • 20
  • 33