tutorials26 min read
Why Does the Service Die Every Four Minutes? Memory Leaks and Unbounded Caches in Node.js
The API restarts every few minutes, and the logs contain a single FATAL line. We trace, step by step from heap graphs to heap snapshots, how a marketing campaign turned a cache into a memory leak.