Web-ui reports very low memory usage on a ubuntu VM

chiangww

New Member
Jul 21, 2023
3
0
1
VM memory setting: 8GB, balloning is on
Guest OS: Ubuntu 24.04.1 LTS (GNU/Linux 6.8.0-51-generic x86_64)
qemu-guest agent installed (1:8.2.2+ds-0ubuntu1.4)

In VM, 'free -h' reports as
1735433223735.png

But web-ui gives
1735432988951.png

How is that possible a ubuntu VM uses only 85.5MB?
 
Edit: please ignore this reply completely. Obviously I read "Container" where it clearly states "VM". Now I need to think over it again...

Edit2: maybe the VM is in sleep or hibernation mode, from the inside --> not really turned off but also not up-and-running, just waiting for a wake-up call.



How is that possible a ubuntu VM uses only 85.5MB?
It is 85 MILLION Bytes. How could that be considered "not much"? ;-)

Containers use directly parts of the host's operating system - especially the whole kernel.

This means an empty/basic Container does really not contain much data or many processes. This is one of the reasons Containers are preferred over VMs, which are much larger by design.


Sidenote: I do prefer VMs nevertheless.
 
Last edited:
Edit2: maybe the VM is in sleep or hibernation mode, from the inside --> not really turned off but also not up-and-running, just waiting for a wake-up call.

No, the VM is active and providing some services. As the memory usage shown in the first post, 5GB used.