Increase container memory limit from 4G to 32G
This commit is contained in:
parent
48a06a2a79
commit
2ca978b728
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user