set vm ram in GB instead of MB in gui

nd6376

New Member
Feb 4, 2025
3
1
3
is it possible to ram the ram of a vm in the "create VM" gui in GB increments instead of entering the exact MB required?

eg, 8GB instead of 8192MB

1783558022894.png
 
Last edited:
  • Like
Reactions: EllerholdAG
But honestly I dont know any guest OS that runs fine on sub 1 GB RAM - but that may be my shortcoming.
I have some VMs with 512 MiB...768 MiB:
Code:
 $ lsb_release -a; free
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 13 (trixie)
Release:        13
Codename:       trixie
              gesamt       benutzt     frei      gemns.  Puffer/Cache verfĂĽgbar
Speicher:     475560      280936       19584         296      187844      194624
Swap:         808956       17256      791700

This is just a specific jumphost, no "real" services. And it still works with 384 MiB too... :-)
 
Should have been more precise.
I think it should be done like php.ini settings (and many other software) uses these settings.

344M
5G
1T

Right know, I have to calculate "hmm... 1GB is 1024MB. So that means * 2 * 2 = 4096 gives me a 4GB machine.
Instead of just inserting "4G".

Just like I would not use docker deploy.resources.limits set to 4096M but 4G instead.
 
Last edited:
  • Like
Reactions: nd6376
Right know, I have to calculate "hmm... 1GB is 1024MB. So that means * 2 * 2 = 4096 gives me a 4GB machine.
After a few decades you know them by heart or are just a nerd how can simple calculate them in the head.

But honestly I dont know any guest OS that runs fine on sub 1 GB RAM - but that may be my shortcoming.
Windows? No .... but I have hundreds of Linux VMs running with such a low memory amount. If you're e.g. just running VPNs or do some kind of network routing, it's totally fine. I had to increase it over the years from 128M to kno 384 MB with Debian Trixie, yet you cannot install it with such low memory footprint, but it'll run without swap flawlessly.
 
I have many CTs, Some running with less than 128MB RAM.
Cool! That's (of course) the positive aspect of containers.

Unfortunately I do not like them - my virtual assets are VMs. (Actually ~97 percent of them.)