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?
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.