On 05.05.2025 04:30 Uhr xuser wrote:

> qemu is taking 1.8GB of ram even with -m 1024M

From the manpage:

       -m [size=]megs[,slots=n,maxmem=size]
              Sets guest startup RAM size to megs  megabytes.  Default  is  128
              MiB.  Optionally, a suffix of "M" or "G" can be used to signify a
              value  in  megabytes  or  gigabytes  respectively.  Optional pair
              slots, maxmem could be used to set amount of hotpluggable  memory
              slots  and  maximum  amount  of  memory. Note that maxmem must be
              aligned to the page size.
 
              For example, the following command-line sets  the  guest  startup
              RAM size to 1GB, creates 3 slots to hotplug additional memory and
              sets the maximum memory the guest can reach to 4GB:
 
                 qemu-system-x86_64 -m 1G,slots=3,maxmem=4G

This option only sets the memory for the virtual machine, the
application needs additional memory.


-- 
kind regards
Marco

Send spam to 1746412201mu...@stinkedores.dorfdsl.de

  • qemu xuser
    • Re: qemu Marco Moock

Reply via email to