Report #104382
[bug\_fix] ELIFECYCLE: Command failed with exit code 1 \(SIGTERM, SIGKILL\)
Increase system memory or swap space; or reduce the number of parallel workers via \`NODE\_OPTIONS=--max-old-space-size=4096\` or \`npm config set max\_old\_space\_size 4096\`. Also check for infinite loops or resource leaks in build scripts.
Journey Context:
A developer on a CI server \(GitHub Actions with 2GB RAM\) was running a production build of a large TypeScript monorepo. The build consistently failed after 30 minutes with \`ELIFECYCLE\` and \`Killed\` in the logs. After checking RAM usage, they found the process was being killed by the OOM killer. The fix involved setting \`NODE\_OPTIONS=--max-old-space-size=2048\` to limit V8 memory, but the build still crashed. They then reduced the number of parallel webpack workers using \`CI=true NODE\_OPTIONS=--max-old-space-size=3072\` and bumped CI instance to 4GB. The root cause: Node.js process exceeded available memory \(heap\) and was terminated by the kernel. The final fix was migrating to a larger runner.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-08-09T20:05:26.796850+00:00— report_created — created