Bug Tracker

Modify

Ticket #6229 (closed bug: duplicate)

Opened 3 years ago

Last modified 3 years ago

$.ajax has memory leak in IE8

Reported by: szkane Owned by:
Priority: undecided Milestone: 1.4.2
Component: ajax Version: 1.4.2
Keywords: ajax Cc:
Blocking: Blocked by:

Description

in IE8 the memory will grow,but in firefox have not this proplem. Is it a bug?

$(function(){ window.setInterval(go,100) })

function go(){ var url=" http://localhost/test.json"; $.ajax({

type: "GET", url: url, dataType: "json", success: function(j){

$("#test").html(j.a);

}

});

}

Change History

comment:1 Changed 3 years ago by jlhm

See my new ticket 6242 and how I believe I solved the issue, at least me IE8 does not leak any more memory when I use the ajax function every second.

comment:2 Changed 3 years ago by addyosmani

  • Priority set to undecided
  • Status changed from new to closed
  • Resolution set to duplicate

Referencing 6242, this bug has been reported on in more depth on that ticket. It also appears to contain comments from others who have experienced the same issue and contains additional test cases and workarounds.

Closing as duplicate.

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.