Javascript memory leaks

Posted: Wednesday, February 9, 2011 by Unknown in Labels:
0

Javascript memory leaks especially in IE during removal of any DOM element (or) setting innnerHTML property. During those actions we should explicitly set "null" to their event handler's property. Have a look at "purge" function in the following link.

Source:- http://javascript.crockford.com/memory/leak.html

Enhanced by Zemanta

0 comments: