Sign in

A look at memory leaks in caching and promises

a concrete building wall with an open window and a boarded-up window
a concrete building wall with an open window and a boarded-up window
Photo by Paweł Czerwiński on Unsplash

We are in the golden age of software. We have tools for everything. We have the tools to make tools. We build core systems into high-level products. But one thing is common at all levels: the infamous memory leak. It is not always a bug in code; sometimes not understanding the behavior of runtime can cause it as well.

The 4 Types of Memory Leaks


Project Link: https://github.com/Joker666/NodeJS-MultiCore-Demo


Project Link: https://github.com/Joker666/microservice-demo/

Prerequisites

Since we…


With the help of Clinic.js

Water leaking out of a hose
Water leaking out of a hose
Photo by Daan Mooij on Unsplash.

Part 2 — The 4 Types of Memory Leaks in Node.js and How to Avoid Them


Project Link: https://github.com/Joker666/microservice-demo/

Motivation

I have been…

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store