Understand memory usage

greg

Renowned Member
Apr 6, 2011
137
2
83
Greetings

I'm puzzled by this: Proxmox reports that my CT has a memory usage of 0.08% (1.57 MiB of 1.95 GiB), however the guest system sees things differently:
Code:
              total        used        free      shared  buff/cache   available
Mem:           1000         664           4         322         330         335
htop says memory full at 99%.

What am I missing?

Thanks in advance

Regards
 
Could you please also post the screenshot of the PVE itself and the used version (pveversion -v)?

What guest operating system is used there? The numbers on my containers are also not identical, but similar.
 
Host:

CPU(s) 12 x Intel(R) Xeon(R) CPU E5-1650 v2 @ 3.50GHz (1 Socket)

Kernel Version Linux 4.15.18-12-pve #1 SMP PVE 4.15.18-35 (Wed, 13 Mar 2019 08:24:42 +0100)

PVE Manager Version pve-manager/5.4-15/d0ec33c6


Guest

1591703369053.png

Debian GNU/Linux 9 (stretch)

Code:
# free -m
              total        used        free      shared  buff/cache   available
Mem:           2000         994          71         896         933        1005
Swap:          5000         323        4676

Note: I changed RAM from 2G to 4G, and the container sees 2000 instead of 1000

htop sees 2G of RAM full at 99%
 

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!