NodeJS: How to Find Memory Leaks

If you use NodeJS on your Backend, you have probably run into memory problems at one point or another. Compared to other systems where a child process is created and terminated with every request, Node is initiated only once, long-running, and particularly unforgiving in any task that leaves residue behind.

This post is an attempt at explaining how to dive into the seeming mess of memory lane and come up with insights, or better yet, solutions.

Continue reading