6

How does the Google Android emulator emulate the RAM?

Does it use the physical RAM of the host or use secondary memory like the hard disk?

2
  • 4
    The properties of RAM are so unique (speed, latency, ..) that you can only emulator RAM with real physical RAM. Even a very fast SSD is about 1.000-100.000 times slower regarding the access latency.
    – Robert
    Sep 23, 2021 at 11:03
  • @Robert I know that but I want to make sure. if there is a documentation/reference, it will be great.
    – asmmo
    Sep 23, 2021 at 11:05

1 Answer 1

13

Android Virtual Devices are emulated using QEMU hypervisor which use physical memory. As any process, the allocated memory pages can be unmapped and swapped to disk or other storage by the host system.

For more information: An overview of memory management in QEMU for Android.

0

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .