From b2104361cf43b80d07f68166ef4799b249019120 Mon Sep 17 00:00:00 2001 From: Timothy Flynn Date: Mon, 19 Feb 2024 09:48:36 -0500 Subject: [PATCH] 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. --- Meta/run.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Meta/run.py b/Meta/run.py index 5f067f6701..26357f0623 100755 --- a/Meta/run.py +++ b/Meta/run.py @@ -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):