DEV Community


Discussion on: Explain a "memory leak" like I'm five

nombrekeff profile image

Imagine you have a pool, but it has holes in it, and after a while the pool empties itself, so there is no more water for you to swim in or other people to swim in. No matter the times you fill it, it will always empty, until you fix the holes.