
· Asep Alazhari · DevOps
Next.js Build Heap Out of Memory in CI: Exit 137 Fix
Next.js build heap out of memory in CI, then Killed with exit 137? Real job logs from a 4 GiB runner, 10 kills, and what moving the type check changed.

Next.js build heap out of memory in CI, then Killed with exit 137? Real job logs from a 4 GiB runner, 10 kills, and what moving the type check changed.

A Next.js build that passes locally can get OOM killed in CI. Fix Docker memory limits, build worker CPU count, and Node engine checks with this guide.
Cookies & privacy
I use Google Analytics to understand traffic and Google AdSense to show ads. Both only set cookies after you accept. Privacy Policy