Skip to content

Commit 9a0df82

Browse files
committed
fix: Node.js built-in fetch fails inside nsjail with WebAssembly.instantiate() OOM, even after increasing
1 parent 104dcd5 commit 9a0df82

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

internal/executor/executor.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -397,6 +397,7 @@ func buildNsJailArgs(configPath string, spec sandboxSpec, timeLimit int) []strin
397397
"--rlimit_cpu", strconv.Itoa(spec.RlimitCPUSec),
398398
"--rlimit_nofile", strconv.Itoa(spec.RlimitNoFile),
399399
"--time_limit", strconv.Itoa(timeLimit),
400+
"--disable_rlimits",
400401
"--",
401402
spec.CommandPath,
402403
)

0 commit comments

Comments
 (0)