When we declare a variable, it is allocated in the RAM. Sometime after, the variable is out of the scope; it is cleared from memory by the garbage collector. Sometimes, we can generate a scenario in which a variable never goes out of scope. If the variable never goes out of scope, it will never be cleared from the memory. This can eventually lead to some serious memory leaking issues. A memory leak is the continuous loss of available memory.
When dealing with memory leaks, we can take advantage of the Google Chrome developer tools to identify the cause of the problem with ease.
The first thing that we might wonder is whether our application has memory leaks. We can find out by visiting the timeline and clicking ...