A memory leak occurs in Internet Explorer 8 when you open and then close a new window or tab that contains circular references that involve the window object

Article translations Article translations
Article ID: 2711084 - View products that this article applies to.
Expand all | Collapse all

On This Page

SYMPTOMS

Consider the following scenario:
  • You use Windows Internet Explorer 8 to browse a webpage.
  • You open and then close a newly created window or tab that contains circular references.
  • The circular references involve the window object through any of its event handlers, such as the following:
    • window.onload
    • window.onerror
    • window.onunload

In this scenario, a memory leak may occur. Specifically, after you perform the same operation several times, you find that the memory that is used by Internet Explorer keeps increasing.

Note This problem does not occur when you use Internet Explorer 9.

RESOLUTION

To resolve this problem, install this update that is described in the following section.

Security update information

To resolve this issue, install the most recent cumulative security update for Internet Explorer. To do this, go to the following Microsoft website:
http://update.microsoft.com
For more technical information about the most recent cumulative security update for Internet Explorer, go to the following Microsoft website:
http://www.microsoft.com/technet/security/current.aspx
Note This update was first included in security update 2675157.

For more information about the security update, click the following article number to view the article in the Microsoft Knowledge Base:
2647516 MS12-010: Cumulative Security Update for Internet Explorer: February 14, 2012

WORKAROUND

To work around this problem, add cleanup code to the page that is opened in a new window or tab.  The cleanup code should remove handlers for window events as the page is closed.

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

MORE INFORMATION

For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:
824684 Description of the standard terminology that is used to describe Microsoft software updates

Properties

Article ID: 2711084 - Last Review: May 21, 2012 - Revision: 1.0
APPLIES TO
  • Windows Internet Explorer 8
Keywords: 
kbqfe kbfix kbbug kbexpertiseinter kbsurveynew KB2711084

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