When memory scares
- Memory ballooning will ask the virtual machine to select it's idle memory pages to be swapped.
- Memory swapping will brutally picks pages at random from the virtual machine.
So memory swapping often occurs when memory ballooning cannot effective free the memory, it will impacts the performance more.
Memory reclamation, when and how? by FRANK DENNEMAN