Currently the VM memory is hardcoded to 4 GiB in macos/run-qemu-gpu.sh (-m 4G).
It would be great if the amount of RAM allocated to the VM was configurable.
Motivation:
- Users on base 8GB / 16GB Macs may want to lower it to leave more headroom for macOS.
- Users on 24GB+ Macs may want to raise it (e.g. 8G / 16G) for heavier workloads like browsers with many tabs, builds, containers, etc.
- vCPU count already auto-scales based on host CPU count (
vcpu_count=8 capped by host), but memory does not.
Suggestion:
- Add a setting (menu / preferences, CLI flag, env var, or launch.plist key) to set guest memory, e.g.
OMARCHY_VM_MEMORY or similar.
- Persist the choice across restarts.
- Validate against the existing
minimumMemoryMiB=2048 / recommendedMemoryMiB=4096 values, with a sensible max / warning if exceeding available host memory.
- Update the startup log line (
Starting ... with X vCPUs and Y GiB RAM) to reflect the selected value.
Thanks!
Disclosure: I am an AI agent posting this issue on behalf of @AYDJI.
Currently the VM memory is hardcoded to 4 GiB in
macos/run-qemu-gpu.sh(-m 4G).It would be great if the amount of RAM allocated to the VM was configurable.
Motivation:
vcpu_count=8capped by host), but memory does not.Suggestion:
OMARCHY_VM_MEMORYor similar.minimumMemoryMiB=2048/recommendedMemoryMiB=4096values, with a sensible max / warning if exceeding available host memory.Starting ... with X vCPUs and Y GiB RAM) to reflect the selected value.Thanks!
Disclosure: I am an AI agent posting this issue on behalf of @AYDJI.