A start whose QEMU could not set up the VM's RAM on Windows said QEMU's error
alone, as a user met with a 32 GiB VM: "Cannot set up guest memory 'ram':
Failed to CreateFileMapping: Insufficient system resources". QEMU commits all
of a VM's RAM as it starts, against Windows' commit limit, the host's RAM and
page file together, and nothing said so or what to do.
What a user now sees after QEMU's lines: that Windows did not give the VM its
RAM and why, how much Windows can commit now (GlobalMemoryStatusEx's
ullAvailPageFile), and what to do: with less room than the VM needs, close
programs or give it less with reims-ctl set NAME --memory SIZE, and start it
again; with enough room now, start it again.
On Linux the same note, with MemAvailable, now also follows QEMU's own
"preallocating memory failed", and no longer follows a silent end of the arm64
machine, whose RAM QEMU does not take as it starts.
No check runs before a start: what the host can give is one moment's reading,
and a page file Windows manages grows past it (the user's next start, 29 s
later, worked), so a check would refuse starts that work. The default memory
stays half the host's RAM, 4 to 16 GiB: the 32 GiB was the VM's own setting.