Modify ↓
Ticket #6229 (closed bug: duplicate)
$.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: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.
Note: See
TracTickets for help on using
tickets.

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.