From 2ca978b7289029b76838473db54edc338487ef18 Mon Sep 17 00:00:00 2001 From: Chris Wanstrath Date: Wed, 18 Mar 2026 22:36:04 -0700 Subject: [PATCH] Increase container memory limit from 4G to 32G --- src/vm.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vm.ts b/src/vm.ts index d237faa..0b2b736 100644 --- a/src/vm.ts +++ b/src/vm.ts @@ -64,7 +64,7 @@ function hostMounts(home: string): { dev: boolean; code: boolean } { /** Pull the image and start the container in detached mode. */ async function createContainer(home: string): Promise { const mounts = hostMounts(home) - const args = ["container", "run", "-d", "--name", CONTAINER_NAME, "-m", "4G"] + const args = ["container", "run", "-d", "--name", CONTAINER_NAME, "-m", "32G"] if (mounts.dev) args.push("--mount", `type=bind,source=${home}/dev,target=/host/dev,readonly`) if (mounts.code) args.push("--mount", `type=bind,source=${home}/code,target=/host/code,readonly`) args.push("-v", `${home}/.sandlot:/sandlot`, "ubuntu:24.04", "sleep", "infinity")