Raise the V8 heap ceiling in MiB.
Section: Memory, Profiling, and Coverage
Increase max old space size
bash
bash
node --max-old-space-size=4096 app.jsExplanation
Common for builds, SSR, and memory-heavy workloads.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Memory, Profiling, and Coverage