https://rancher.com/ logo
Title
r

refined-crowd-99813

09/21/2022, 9:27 PM
hey, i'm trying to let docker chew up as much of my memory as i want but i can't convince it to. i've gone into preferences -> virtual machine and set it to 48GB but
docker stats
is still showing
MEM USAGE / LIMIT
stats that look like
897.4MiB / 2.909GiB
. anyone know why this is?
f

fast-garage-66093

09/21/2022, 9:32 PM
You must use macOS 12.4 or later on M1 machines. There is a kernel bug in earlier macOS versions that will cause a crash if you use more memory, so lima will automatically cap your request, even when you ask for more.
r

refined-crowd-99813

09/21/2022, 9:33 PM
goodness
i literally got this machine 2 weeks ago and i'm already behind on os versions?!
thank you for the info, i will try upgrading my OS and seeing if that helps.
f

fast-garage-66093

09/21/2022, 9:33 PM
What does
sw_vers
say?
For reference: <https://github.com/lima-vm/lima/issues/795%7CReduce the memory to <= 3 GiB, when QEMU >= 7.0 && macOS <= 12.3 && CPU == M1 · Issue #795 · lima-vm/lima>
r

refined-crowd-99813

09/21/2022, 9:34 PM
yeah i'm on 12.3
im just surprised i'm not up to date
f

fast-garage-66093

09/21/2022, 9:34 PM
Me too; is this a new machine?
Current version is 12.6
r

refined-crowd-99813

09/21/2022, 9:35 PM
well i thought so
but apparently not
¯\_(ツ)_/¯
f

fast-garage-66093

09/21/2022, 9:36 PM
12.4 was released May 16th...