Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Virtual Device super slow - pc too slow?

if I wanna work/test with my AVD, the Android emulator is super slow, barely usable. Im developing with eclipse and was just about testing a helloWorld app., but the whole thing runs too slow. Is it the hardware of my pc? details:

AMD Athlon 64 3500+, 2.21 Ghz
2 GB RAM
Windows XP

I know its kinda running with coal, but actually, its just a phone emulator. What is your opinion?

like image 483
最白目 Avatar asked Sep 15 '11 11:09

最白目


1 Answers

I had the same problem. The emulator was slow as hell. You can significantly speed it up by changing the heap size allocated to it in AVD manager. Go to AVD Manager -> Select your device -> Click on "Details" button. The heap size will most probably be 24 or 48 (vm.heapSize: 24). Here's how you increase the heap size.

AVD Manager -> Select device -> Edit -> Hardware section (same window) -> Select "Max VM application heapsize" property -> Double click and edit the value to 512 or higher.

Restart the emulator (if already running).

like image 174
Srikanth Avatar answered Oct 05 '22 23:10

Srikanth