mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-21 18:37:58 +03: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
Notes:
sideshowbarker
2024-07-17 07:31:31 +09:00
Author: https://github.com/trflynn89 Commit: https://github.com/SerenityOS/serenity/commit/b2104361cf Pull-request: https://github.com/SerenityOS/serenity/pull/23258 Reviewed-by: https://github.com/awesomekling ✅
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user