In our applications we must support IE 8, and unfortunately we hit some leak, which is registered as Ticket #7054(closed bug: fixed).
While bug declared closed as fixed we can see that memory leak in IE8 like a mad. Not sure if something can be done about it.
The test case is:
<!DOCTYPE html> <html> <head> <title>Test</title> <script src="scripts/jquery/jquery-1.9.0.js"></script> </head> <body> <script> function testLeak() { var handler = function () { }; $('<div></div>').html(new Array(1000).join(new Array(1000).join('x'))).bind('abc', handler).appendTo('#test').remove(); } $(function() { setInterval(testLeak, 1000); }); </script> <div id="test"></div> </body> </html>
Update: jaubourg has pointed that we have missed to define element with id="test". With this element leak stops.
Remember Me
a@href@title, b, blockquote@cite, em, i, strike, strong, sub, super, u