DEV Community

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

Collapse
 
aminmansuri profile image
hidden_dude • Edited

I couldn't come up with an explanation for a 5 year old, but here's one for a baby:

You have 2 hands. If you want to pick up something you have to make sure one of your hands is empty. If you use up all your hands and forget to put something down, then you won't be able to grab things to put in your mouth.

Your computer has many many hands, but if you forget to empty the hands you'll eventually run out.