jQuery 1.4.2 - Ajax & increasing IE 8 Process Handles

Posted by mac866 on Stack Overflow See other posts from Stack Overflow or by mac866
Published on 2010-05-28T13:45:17Z Indexed on 2010/05/28 13:51 UTC
Read the original article Hit count: 227

Filed under:
|
|

Hi,

I'm requesting every second some data over $.ajax.

$.ajax({
   type: "POST",
   url: "ServiceEndpointUrl",
   data: "",
   success: function(result) {
      ... Do Work ...
} } } } });

This code leads into an continuous growing number of handles in IE 8 (Windows 7 / verified with Task Manager & Process Explorer).
Firefox & Chrome does not have this problem.

This page is displayed all day long - this leads into thousands of handles & will sometimes crash the complete browser.

My workaround is to reload the complete page every hour - but this can't be the solution ;-)

Any suggestions how to "close" these Ajax-Handles?

thx

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about AJAX