Huge Memory Leak in Internet Explorer ?

J

jonjon

Hi,
I was testing the following code in Internet Explorer version
"6.0.2800.1106.xpsp2.030422-1633" and came accross a huge memory leak as IE
took more than 300MB memory on my 512MB system. Is it a known bug ? after
some tests it only happens if there already is one or more styles in the
document's stylesheet...
Can you confirm it is happenning to you too or is it only my system which
for some reason produces this error ? I was able to reproduce this issue on
a friends system whose IE's version number was
"6.0.2800.1106.xpclient.010817-1148".
Here is the whole page:

---- BEGINNING OF THE WEB PAGE ----------------------------------------

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script language="javascript">
function doAction() {
document.styleSheets[0].addRule('h2 {font: 8px Verdana}')
}
</script>

<style type="text/css">
<!--
..dummy1 {
font-family: "Courier New", Courier, mono;
}
-->
</style>
</head>

<body>
<div id="Layer1" style="position:absolute; left:98px; top:87px; width:393px;
height:257px; z-index:1"></div>
<input type="submit" name="Submit" value="Submit" onClick="doAction();">
<h2>Test Layer !</h2>
</body>
</html>

---- END OF THE WEB PAGE ----------------------------------------

Best regards,

John.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,480
Members
44,900
Latest member
Nell636132

Latest Threads

Top