Ticket #991 (closed bug: fixed)
Ajax leaking in IE6
|Reported by:||choan||Owned by:|
We (my team and our clients) are experimenting serious memory leaks while using the Ajax methods (as expected, just in IE6).
Demo page (runs jQuery 1.1.1): http://blog.scriptia.net/temp/jquery-ajax-leaks/ajax-leaks.html. Leaks seriously.
After some investigation, I've found http://alex.dojotoolkit.org/?p=528, a post by Alex Russell where he writes:
So, I've applied his method to jQuery. No leaks. See http://blog.scriptia.net/temp/jquery-ajax-leaks/ajax-fixed.html
I'm attaching a patch which:
- Uses a timer instead of onreadystatechange
- Nullifies both xml and xml2
Hope this helps in resolving the issue.