Memory leak with VM

leanderkretschmer

New Member
Mar 26, 2025
2
0
1
Hi I have multiple VMS running with different sizes of memory Allocated, but in multiple VMs the reported usage on the base system is way higher than in the virtual machine itself, we're talking in the 10s of GB, I Added a picture of the htop report on my base system, The htop report on the VM in question and a screenshot of the web overlay from proxmox

As you can see I have Jellyfin installed on that VM, it's a Debian 12.10.0 VM without the QEMU guest agent installed
Currently, all other active VMs have normal memory usage

1743023012370.png
1743023021977.png
1743023031586.png
1743023041249.png
1743023051810.png
I do use ZFS for the Boot pool and 3 Other volumes on my server, and a good amount of my system memory is used as cache as it seems

I had similar issues with a (now deleted) Windows 10 VM and thought nothing of it because windows is a B when it comes to memory usage and I don't trust the task manager to report true values

I am on the Proxmox PVE version 8.3.0 currently without a license because I'm moving to a new server soon, but I do want this issue resolved first

1743022931123.png

If there is any information missing, i will provide it when asked
1743022689282.png1743022657529.png1743022576083.png
 
I currently don't see an option to copy the command seen in the htop, but it's very long, so if someone knows how to copy it i would provide that as well
 
I am not sure what exactly you are looking at, but the memory usage numbers can be slightly wrong because of https://bugzilla.proxmox.com/show_bug.cgi?id=6068#c6

in your example above, what would you expect the memory usage to be? note that your htop view from inside the VM, you have to also account for all the memory that is "available" (caches, buffers, .. that can be freed if needed but are still used in a fashion), i.e., the yellow part in the graph. from the host's point of view, that is memory that is currently being used - it doesn't know that the VM kernel would give it up if needed.