Meta: Increase default VM RAM size to 2GiB

With 1GiB, we hit OOM loading GitHub in the browser. Increase the RAM
size to support normal use.
This commit is contained in:
Timothy Flynn 2024-02-19 09:48:36 -05:00 committed by Tim Flynn
parent 1d98f812af
commit b2104361cf
Notes: sideshowbarker 2024-07-17 07:31:31 +09:00

View File

@ -142,7 +142,7 @@ class Configuration:
# QEMU -append
kernel_cmdline: list[str] = field(default_factory=lambda: ["hello"])
# QEMU -m
ram_size: str | None = "1G"
ram_size: str | None = "2G"
# QEMU -cpu
qemu_cpu: str | None = "max"
# QEMU -smp
@ -318,7 +318,7 @@ def detect_bochs() -> Path:
def detect_ram_size() -> str | None:
return environ.get("SERENITY_RAM_SIZE", "1G")
return environ.get("SERENITY_RAM_SIZE", "2G")
def set_up_qemu_binary(config: Configuration):