Memory management with virtualbox and vagrant

1

I'm running vagrant with virtualbox on ubuntu 12.04. When the VM isn't running, the system's memory usage is around 2 GB. I've set swappiness at 10% and the VM's memory at 1 GB. When I fire up the VM, strangely, memory usage drops to 1.5GB and I encounter frequent short freezes(because the memory compresses itself?).

Why does this happen?

j0fb

Posted 2013-05-30T14:06:02.513

Reputation: 111

Answers

0

How much memory do you have on the Host OS? Without this info we can't be sure, but from what you're describing, I would say this is because large chunks are being paged out of RAM to the Swapfile.

Jonathan

Posted 2013-05-30T14:06:02.513

Reputation: 1 287