Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I change the ram amount that the android emulator is using?

Tags:

at the first setup, Android Studio asked me that how much ram does the emulator going to use. I entered 800M but it worked slowly. I need to make it a little bit bigger like 1.5GB. How can I do that? Is it editable after the first setup?

like image 647
Arda Çebi Avatar asked Oct 16 '16 08:10

Arda Çebi


People also ask

How much RAM should I give the Android Emulator?

However, the heap size should not be less than 12 MB. o Depending on your computer specs, the recommended ram size is in the range between 512 MB – 1024 MB. Although you can give more ram to the emulator but an actual android device would normally have 512 MB – 1024 MB for ram only.


1 Answers

I generated a Pixel 2 image in the past and those values were locked to match the HW default of 1536 MB, so to edit them I had to "Show on disk" (from ADV manager) and edit the hw.ramSize keys in hardware-qemu.ini and config.ini

like image 190
Treviño Avatar answered Oct 14 '22 20:10

Treviño