Tuesday 27 January 2009

Dealing with Web Browser Memory Leaks

I just read a useful article that explains the main reason for browser memory leaks. The reason given is that Javascript does garbage collection for all objects. Browsers such as IE and Firefox however use Reference counting on some objects. Mainly DOM objects. 

Combining the two forms means that it's easy to create a situation where memory does not get freed up. They also go on to show some simple fixes.

No comments: