Kcef: Disable SHM (#1489)

In Docker, `/dev/shm` is restricted, so Chromium dies of OOM

See also https://stackoverflow.com/a/56941767/7508309
This commit is contained in:
Constantin Piber
2025-07-02 19:23:21 +02:00
committed by GitHub
parent a79dc580a5
commit c15cf23168

View File

@@ -409,7 +409,7 @@ fun applicationSetup() {
settings { windowlessRenderingEnabled = true }
appHandler(
KCEF.AppHandler(
arrayOf("--disable-gpu", "--off-screen-rendering-enabled"),
arrayOf("--disable-gpu", "--off-screen-rendering-enabled", "--disable-dev-shm-usage"),
),
)