Posted March 7, 201212 yr This example is a complete web page that demonstrates a slow leak in IE9. IE9.0.5 leaks a few bytes every time that backgroundPosition is called. sIEve and Drip show a steady increase in usage of memory but no increase in DOM objects. Leave it open for 8 hours or so and the IE tab dies when IE runs out of memory. Reloading the page or going to another page recovers memory - but can be delayed by tens of minutes by what appears to be memory clean-up. CollectGarbage helps even out the stats but has no effect on the overall bug or steady increase in memory used. Please help ! Thanks. Graham MCSD/ MCAD .Net, MCSE/ MCSA 2003, CompTIA Sec+ var progress = 0.0 var timerDateId = window.setInterval(function(){ var temp = document.getElementById("my_datecounter_1") progress = progress + 0.4 if (progress > 600) { progress = 0 if (typeof(CollectGarbage) == "function") { CollectGarbage() /* try and make watching stats easier and discount pseudo-leaks */ } } var bpos = "0px " + parseInt(progress) + "px" temp.style.backgroundPosition = bpos }, 10) Continue reading...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.