(Solved) memory usage

marco_79

New Member
Sep 16, 2019
2
2
1
44
good morning, I wanted support to understand how to best configure ram memory on servers.
Host image: Lenovo server memory
server image: windows server memory 2016
Periodically it happens that proxmox indicates 20 GB of memory in use on the host, but only the windows server is lit with 8gb of ram.
In this way I cannot start any other vm.
on the server I installed the VITRO drivers and activated the quemu agent.
Is there a way to configure the ram in order that proxmox read the ram in use correctly instead of always seeing it all occupied?
Thanks.
 

Attachments

  • host.jpg
    host.jpg
    201.9 KB · Views: 300
  • server.jpg
    server.jpg
    187.4 KB · Views: 293
Hi,
are you sure that it's not other processes on the host that use up the memory? So the next time it happens, could you use 'top' and inside top press 'M' (uppercase is relevant) on the host machine? Then you should see who uses the most memory.
 
Thanks for sharing the solution.
However in most cases it's better to write down the solution in words rather then posting an external link as websites tend to disappear.

So the solution is to install the virtio drivers, but most important the balloon driver and making sure that the balloon service is also installed and running.
More info also in https://pve.proxmox.com/wiki/Main_Page (assuming this link won't disappear ;) )
 
Last edited:
The correct Wiki article is this one:

https://pve.proxmox.com/wiki/Dynamic_Memory_Management

And this information has been in there for many years. Every Windows "suffered" from this memory display problem, which is really not a PVE problem, but a problem of conflicting views on "free memory". The memory is really used in your VM, but Windows shows it as free, where is is not free, it's cached. The PVE view is the correct one, so if you want the usage from within, you only close your eyes to the real memory usage.
 

About

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!