How to avoid memory leaks in your Angular application

ZeroesAndOnes
9 min readApr 6, 2020

In this article I will show you an example of a memory leak in a real world example and the proper steps to identify the problem and how to mitigate it.

Memory leak is a resource leak that takes place when a computer program/application incorrectly manages memory allocations where memory that are no longer needed are not being properly released. Another form of memory leak happens when an object which is stored in memory can no longer be accessed by the running code.

--

--