On 12/07/2010 04:18 AM, Christophe Porteneuve wrote:
Hey there,
The core source of memory leaks in JS is circular references between the
DOM and the JS object space. Essentially this happens when you maintain
refs to DOM nodes from your JS *and* put refs to JS objects from the
same closure in expando properties of these DOM nodes.
My understand is that this pattern of leaks was always IE-specific and
has been (at least mostly) fixed in IE7. (But I have not done any
primary research into the issue myself.)
I have removed my discussion of cyclic memory leaks from the (not yet
out) 6th edition of my JavaScript book.
David Flanagan
_______________________________________________
JSMentors mailing list
[email protected]
http://jsmentors.com/mailman/listinfo/jsmentors_jsmentors.com