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

Bobby Rullo at Nov 11, 2005, 05:39pm EST

I seem to have this problem as welll - merely creating XmlHttpRequests seems to create memleaks…did you ever find a solution?