JavaScript: Preventing Memory Leaks

In my last article, I presented the common patterns that lead to Memory Leak in a typical JavaScript Application. This article continues the concept of Memory Leaks and unrolls the prevention techniques for each pattern.

JavaScript: Memory Leak Patterns

Memory is an essential part of any application irrespective of the technology behind the scene. In particular with JavaScript it becomes more crucial as the browser handles the memory management for JavaScript application and we don’t have a full stack power of machine.