Hypervisors handle memory management for virtual machines in different ways. It is important understand how virtual memory management controls how resources are shared. Greg Shields wrote an excellent article detailing the various virtual memory management techniques used by hypervisors to prevent memory shortages. The following techniques are discussed in the article.
- Transparent page sharing
- Separation of VM and host physical memory
- Hardware-assisted memory synchronization
- Hypervisor swapping
- Memory compression