Agent Provider Depot / Error Rescue Index (28 Traps) / sandbox-oom-exit-137
platform_limittrapId: trap-sandbox-oom-exit-137 · asOf: 2026-10-28
Container / Sandbox Killed with Exit Code 137 (SIGKILL Out of Memory)
Running headless Chromium, Next.js builds, or PyTorch inside a 512MB container triggers the Linux OOM killer (exit code 137) or V8 heap exhaustion.
1. Immediate Code & SKU Fix
Replace With SKU:
e2b (2GB-8GB microVM) or modal (configurable memory sandbox)Install Command:
npm install @e2b/code-interpreterRequired Env Vars:
E2B_API_KEYexport NODE_OPTIONS="--max-old-space-size=4096"; // Provision E2B sandbox or offload browser rendering to Browserbase
2. Verified Hot-Swap Fallback Route
JTBD: code-sandbox
liveHealth: operational · autoActOk: true
Python jobs that aren't untrusted REPL — Modal.
Matched Error String Signatures (5)
exit code 137SIGKILLOut of memory: Killed processJavaScript heap out of memoryFATAL ERROR: Reached heap limit Allocation failedcurl -s "https://getagentdepot.com/api/rescue?q=exit%20code%20137"
Browse All 28 Agent Runtime Rescue Cards
deprecated-claude-3-5-sonnetdeprecated-openai-gpt4deprecated-ada-002deprecated-google-generative-aiwrong-package-r2wrong-package-pinecone-clientwrong-package-mailgun-jsrate-limit-429provider-outage-529payment-required-402waf-bot-blocksmtp-port-25-timeoutlambda-15m-timeoutvercel-4-5mb-payloadsqlite-busyneon-cold-startsmithery-connect-shutdowngemini-preview-shutdown-2026-11-17openai-tts-1-shutdown-2027-01-06openai-insufficient-quotacontext-length-exceeded-413streaming-sse-econnresetcloudflare-1015-rate-limitvector-dimension-mismatchmcp-jsonrpc-method-not-foundsandbox-oom-exit-137postgres-too-many-connectionsheadless-browser-executable-missing