RAM usage massive over VMs RAM size

fre4ki

Member
May 25, 2020
10
0
6
39
Hey guys,

i‘m new with proxmox. I have installed it bare metal with a Intel NUC (64 GB RAM).

I created 2 VMs (one with 6 GB and Linux and one with 8 GB RAM and Windows Server 2016). So i think the RAM usage should be somewhere between 14 GB - 16 GB? The RAM usage is more than 42 GB now.

On the attachement there are 2 screenshots. The RAM is really assigned (htop output).

I tried it already with balooning and the baloon driver and without. Does not matter.

Hope someone can help.

Andy
 

Attachments

  • 682D3227-D58B-44D8-8433-5472A6F77F4F.jpeg
    682D3227-D58B-44D8-8433-5472A6F77F4F.jpeg
    138.7 KB · Views: 18
  • 218A7E64-7E45-48CF-A2B3-F3039B7E440E.jpeg
    218A7E64-7E45-48CF-A2B3-F3039B7E440E.jpeg
    783.6 KB · Views: 19
have you installed balloon drivers on you´r windows boxes they "should" resove this..
Proxmox can show "false" readings on windows boxes..
but as you can se on screenshot Ive sent, there vm´s are chilling.
One of them are running, ActiveDirectory and DNS and the 2nd is full 2019 exchange (cu4), becides that i also run proxmox mail gateway <3 <3 <3 <3 killed more than 300k spam mails.

Also how have you configured you´re vms?
Also, are you running windows with desktop enviroment? (that normaly chews 4-6 gig alone)
 

Attachments

  • 2020-05-25 21_08_29-.png
    2020-05-25 21_08_29-.png
    213.8 KB · Views: 10
Last edited:
Here are RAM usage / RAM configuration. The Windows with balooning is min. 4096 and max. 8192.

the usage should be in total (both VMs) about 7-8 GB in total.
 

Attachments

  • 6973AC89-3143-42E7-A27E-362F0CA44342.jpeg
    6973AC89-3143-42E7-A27E-362F0CA44342.jpeg
    74 KB · Views: 9
  • 46507076-89E7-4398-B8A9-2E77F758715C.jpeg
    46507076-89E7-4398-B8A9-2E77F758715C.jpeg
    67.6 KB · Views: 9
as long as that correspond to the vm´s then it should be mine are totaly off, and if i put vms to work, then in theory the server should "puke".. they are just fine.. i ignore thouse stats on windows vm´s. (thats my personal experience).. and on servers you dont need desktop enviroment ^^
 
Mhmm.. I totally assigned in 2 VMs 14 GBs of RAM. And proxmox consuming much more. I understand if it is only the web graph but htop tell me such high consumption too.
 
Mine proxmox is "eating" the memory assigned. It shows that its using it, but in fact its reserving them.
Just a side question, how are your drives setup? (on the box itself)
 
ZFS is the one chewing you´r memory. ive had it on my server with 32gig of mem. and it chewed it like candy. Even more i have 6 SSD´s in it.. and the preformance on the system was terrible. With that setup id rather run with ext4 (like i do now) you will have better benefits, unless you ofc. use all thouse nice features that ZFS has to offer..

Over the time, you will also experience high I/O Delay
 
Last edited:
I read somewhere that ZFS is consuming 4 GB + 1 GB per TB. This where 5 GB + 14 (worst case) for the VMs. But it is consuming much more..
 
I moved the VM-Images to an NFS Datastore. The RAM is now fine. Looks like dedupe and compression uses this RAM.
 
I read somewhere that ZFS is consuming 4 GB + 1 GB per TB. This where 5 GB + 14 (worst case) for the VMs. But it is consuming much more..
I dont think that there is a exsact calculation on how much ZFS consumes, as far as i know (from a friend that works as a infrastructure administrator) that there is no point of using ZFS if you´re not using the rich features it has to offer. If you want it, then it should be tweaked to your system specific.
 

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!