This article is about a question frequently answered by community members. It was inspired by UdoBs great FabU posts ( https://forum.proxmox.com/search/7994094/?q=FabU&c[title_only]=1&c[users]=UdoB ) and aims to give an in depth-explaination to an often asked question so it can be referenced in future threads. It will be changed as needed, any Feedback/suggestions welcome
My dashboard shows that most of my RAM is used although my VMs and LXCs only have a small fraction allocated. Is this a memory leak bug?
Propably not. First you need to know that ProxmoxVE is based on Debian Linux...
The `vtballoon-stats.ko` kernel driver does not report all memory parameters; it returns -1 for several of them. I created a fix for the module and made it available in this repository:
There is a module for version 2.7.2 and one for version 2.8.1, but they should also work with earlier sub-versions. To install, you can download the `.ko` file and set it to load at startup; there is also a script available that handles the download and installation. For proper operation, it is best to have `qemu-guest-agent` installed and enabled.
The source code is also available for review and contributions.