theme selector

light blue screenshot grey screenshot navy screenshot dark green screenshot red and black screenshot
 

by Tony Chang
tony@ponderer.org

All opinions on this site are my own and do not represent those of my employer.

Creative Commons Attribution License

xmlhttprequest leak?

Oct 02, 2005, 04:12am EDT

 

 

Dear LazyWeb,

What’s the correct way to prevent IE from leaking memory in XMLHttpRequest objects? I was able to stop Firefox from leaking by clearing onreadystatechange after I was done. IE doesn’t let me clear the method and setting it to a dummy method doesn’t help. I also tried not using a closure and just using a global callback but it still seems to leak (based on me watching mem usage in task manager).

test with closure

test with global callback

Thanks in advance,
Tony

allowed HTML: a, blockquote, ul, ol, li, dl, dt, dd, b, i, strong, em, code, abbr, acronym, sub, sup, span, pre

allowed HTML: a, blockquote, ul, ol, li, dl, dt, dd, b, i, strong, em, code, abbr, acronym, sub, sup, span, pre