Increase container memory limit from 4G to 32G

This commit is contained in:
Chris Wanstrath 2026-03-18 22:36:04 -07:00
parent 48a06a2a79
commit 2ca978b728

View File

@ -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<void> {
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")