Memory Leak in Internet Explorer When Background Image Is Resized

Article translations Article translations
Article ID: 254637 - View products that this article applies to.
This article was previously published under Q254637
Expand all | Collapse all

SYMPTOMS

When a background image is resized by using Dynamic Hyper-Text Markup Language (DHTML) code, a memory leak occurs in Internet Explorer. The following sample code can be used to exhibit the leak:
<HTML>
<HEAD>
<SCRIPT LANGUAGE="JavaScript">
function animate() {img.style.height = (img.style.posHeight+1)%26;}
</SCRIPT>
</HEAD>
<BODY onload = "setInterval('animate()', 1);">
<SPAN ID=img STYLE="background:url(image.gif);WIDTH:91;HEIGHT:266">
</SPAN>
</BODY>
</HTML>
				

RESOLUTION

To resolve this problem, obtain the latest service pack for Internet Explorer version 5.01. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:
267954 How to Obtain the Latest Internet Explorer 5.01 Service Pack
A supported fix is now available from Microsoft, but it is only intended to correct the problem that is described in this article. Apply it only to computers that are experiencing this specific problem.

To resolve this problem, contact Microsoft Product Support Services to obtain the fix. For a complete list of Microsoft Product Support Services phone numbers and information about support costs, visit the following Microsoft Web site:
http://support.microsoft.com/default.aspx?scid=fh;EN-US;CNTACTMS
NOTE: In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

The English version of this fix should have the following file attributes or later:
   Date       Time  Version      Size    File name  Platform
   -------------------------------------------------------------
   04/03/2000 00:38 5.0.3015.300 2273040 Mshtml.dll x86
				

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article. This problem was first corrected in Internet Explorer version 5.01 Service Pack 1.

Properties

Article ID: 254637 - Last Review: January 27, 2007 - Revision: 3.2
APPLIES TO
  • Microsoft Internet Explorer 5.01
  • Microsoft Internet Explorer 5.0
  • Microsoft Internet Explorer 5.01
  • Microsoft Internet Explorer 5.01
  • Microsoft Internet Explorer 5.0
  • Microsoft Internet Explorer 5.01
  • Microsoft Internet Explorer 5.0
Keywords: 
kbbug kbenv kbfix kbqfe KB254637
Retired KB Content Disclaimer
This article was written about products for which Microsoft no longer offers support. Therefore, this article is offered "as is" and will no longer be updated.

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com