Skip to content

Memory leaks

In my experience, I have run into fixing memory leaks a couple of times, and each time it was very difficult. Task manager in browser, Memory in Performance tab, and the Memory tab are great tools accessible to us, but using them requires a skill (and sometimes luck). I plan to dive into the topic of memory leaks: how to understand that we have problems; how to find the source of the leak and why leaks can happen, and with that knowledge, we can prevent them.

Useful and interesting resources

Devtools

How Garbage Collector works and what about V8

Cases investigations

React Memory Leaks

How to find a leak before your user does

// TODO

How to find problems in your code and fix it

// TODO

// TODO

Closures

// TODO

Garbage Collector

// TODO