[SOLVED] Memory used - where is truth


Active Member
Jun 25, 2019
Hello. I have VM with debian and 10Gb memory for this machine.
Proxmox GUI says 7.8Gb used
Inside vm htop says 1.42Gb used

What shoud I think on it ?
But do you see the big orange chunk of the bar in htop? That's probably the remaining "usage".
You could call free -h in the VM to see that too, listed under "buff/cache".

The issue with that kind of memory usage is that the VM itself doesn't accounts this as "reserved", as it's the page cache, and can be reclaimed at any moment (it's just optimal use of the available memory for disk IO caching, as unused memory is wasted memory). But Proxmox VE on the outside does not see the difference, either a memory page is in use by the VM or not, it doesn't knows what the VM Guest OS is doing with that memory exactly,

Normally, what helps is to ensure that the "Ballooning Device" is enabled for the VM, as it helps to improve tracking memory with the help of the Guest OS:
Screenshot_2019-10-30 nina - Proxmox Virtual Environment(1).png
  • Like
Reactions: Morphushka


The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!