S
SPG
Hi,
We are seeing a strange memory leak in IE (6...any) with opening and closing
windows using JS
When you run the code below (Assuming you have another file called
leak2.html) the process manager shows and increase of about 150K in mem.
Then when you close the new popup down only 75K is cleared up.
We noticed this when we have a very large XML DOM being loaded into a
window, about 1meg big. When the window is closed on 500K is being cleaned
up. Therefore we have a rather large memory leak as this window is required
in many places.
Any ideas what could cause this?
Steve
<html>
<head>
<script>
function clickButton() {
window.open('leak2.html', '', 'width=500, height=400');
}
</script>
</head>
<body>
<button id="btn" onclick="clickButton()">Click me!</button>
</body>
</html>
We are seeing a strange memory leak in IE (6...any) with opening and closing
windows using JS
When you run the code below (Assuming you have another file called
leak2.html) the process manager shows and increase of about 150K in mem.
Then when you close the new popup down only 75K is cleared up.
We noticed this when we have a very large XML DOM being loaded into a
window, about 1meg big. When the window is closed on 500K is being cleaned
up. Therefore we have a rather large memory leak as this window is required
in many places.
Any ideas what could cause this?
Steve
<html>
<head>
<script>
function clickButton() {
window.open('leak2.html', '', 'width=500, height=400');
}
</script>
</head>
<body>
<button id="btn" onclick="clickButton()">Click me!</button>
</body>
</html>