mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 11:48:10 +00:00
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:
parent
1d98f812af
commit
b2104361cf
1 changed files with 2 additions and 2 deletions
|
@ -142,7 +142,7 @@ class Configuration:
|
||||||
# QEMU -append
|
# QEMU -append
|
||||||
kernel_cmdline: list[str] = field(default_factory=lambda: ["hello"])
|
kernel_cmdline: list[str] = field(default_factory=lambda: ["hello"])
|
||||||
# QEMU -m
|
# QEMU -m
|
||||||
ram_size: str | None = "1G"
|
ram_size: str | None = "2G"
|
||||||
# QEMU -cpu
|
# QEMU -cpu
|
||||||
qemu_cpu: str | None = "max"
|
qemu_cpu: str | None = "max"
|
||||||
# QEMU -smp
|
# QEMU -smp
|
||||||
|
@ -318,7 +318,7 @@ def detect_bochs() -> Path:
|
||||||
|
|
||||||
|
|
||||||
def detect_ram_size() -> str | None:
|
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):
|
def set_up_qemu_binary(config: Configuration):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue