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.
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.