Heap Cap Exceeded RAM on e2-medium 4GB — Recalculating PM2 Memory Allocation

📰 Dev.to · 박준희

The combined `--max-old-space-size` of 5 PM2 cluster processes was exceeding the server's RAM. It wouldn't crash during normal operations, but would OOM during spikes. This post details how I reallocated the Node / non-Node budget within the e2-mediu

Published 5 Jun 2026

Full Article

The combined `--max-old-space-size` of 5 PM2 cluster processes was exceeding the server's RAM. It wouldn't crash during normal operations, but would OOM during spikes. This post details how I reallocated the Node / non-Node budget within the e2-mediu
Read full article → ← Back to Reads