Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Javascript > Huge Memory Leak in Internet Explorer ?

Reply
Thread Tools

Huge Memory Leak in Internet Explorer ?

 
 
jonjon
Guest
Posts: n/a
 
      02-12-2004
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.


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Internet Explorer 8: C:\Program Files\Internet Explorer\iexplore.exe vs C:\Program Files (x86)\Internet Explorer\iexplore.exe Nathan Sokalski Windows 64bit 16 02-22-2010 08:31 AM
internet explorer 7 - Internet Explorer cannot display the webpag sandy j Windows 64bit 0 05-02-2009 02:12 AM
Memory error due to the huge/huge input file size tejsupra@gmail.com Python 3 11-20-2008 07:21 PM
Dynamic Iframes Memory Leak In Internet Explorer cdmsenthil@gmail.com Software 0 03-28-2008 04:11 PM
Memory Leak in Internet Explorer using Treeview Ronen ASP .Net 1 02-03-2005 11:43 PM



Advertisments