IE6 memory leak
IE6 memory leak
First off: thanks for jquery. I love it. Second: I'm running into an
IE6 memory leak. Here's a repro:
----begin----
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
<title>Leak Test 2</title>
<link type="text/css" href="http://ajax.googleapis.com/ajax/libs/
jqueryui/1.7.2/themes/smoothness/jquery-ui.css" rel="stylesheet" />
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/
libs/jquery/1.3.2/jquery.min.js"></script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/
libs/jqueryui/1.7.2/jquery-ui.min.js"></script>
<script type="text/javascript">
$(document).ready(function() {
$('.DatePicker:enabled').datepicker();
setTimeout("CheckForRefresh();",1000);
$('#AutoRefresh').bind('click',function(){ CheckForRefresh(); });
});
function CheckForRefresh(){
if($('#AutoRefresh').attr('checked')){
window.location.reload();
}
}
</script>
</head>
<body>
<form id='Form1' action='LeakTest2.htm'>
<input class='DatePicker' /> <input id='AutoRefresh'
type='checkbox' checked='checked' /><label for'AutoRefresh'>Refresh</
label>
</form>
</body>
</html>
----end----
I've tried many things as documented in my stackoverflow question (see
that for a slightly shorter repro as well). I really feel like I'm
just throwing spaghetti at the wall to see what sticks at this point,
though.
I tried the nightlies from a few days ago but the problem persists.
Any help or direction would be greatly appreciated (no, I can't ignore
IE6 users...they're 3/4 of my corporate users!). Thanks!