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).
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?
Steve at Nov 06, 2008, 08:45pm EST
I’ve been bashing my head against a brick wall with this for days now - if you delete the request object once you have read the data from it it should work.