github.com/containers/podman/v5@v5.1.0-rc1/docs/source/markdown/options/memory.md (about)

     1  ####> This option file is used in:
     2  ####>   podman build, container clone, create, farm build, pod clone, pod create, run, update
     3  ####> If file is edited, make sure the changes
     4  ####> are applicable to all of those.
     5  #### **--memory**, **-m**=*number[unit]*
     6  
     7  Memory limit. A _unit_ can be **b** (bytes), **k** (kibibytes), **m** (mebibytes), or **g** (gibibytes).
     8  
     9  Allows the memory available to a container to be constrained. If the host
    10  supports swap memory, then the **-m** memory setting can be larger than physical
    11  RAM. If a limit of 0 is specified (not using **-m**), the container's memory is
    12  not limited. The actual limit may be rounded up to a multiple of the operating
    13  system's page size (the value is very large, that's millions of trillions).
    14  
    15  This option is not supported on cgroups V1 rootless systems.