FIX: A memory leak occurs in a .NET Framework 3.5 SP1-based Windows Presentation Foundation (WPF) application that uses the ResourceDictionary class and the MergedDictionaries property to manage resources

Article translations Article translations
Article ID: 980251 - View products that this article applies to.


 
Expand all | Collapse all

SYMPTOMS

You have a Windows Presentation Foundation (WPF) application that uses the Microsoft .NET Framework 3.5 Service Pack 1 (SP1). This application uses the ResourceDictionary class and the MergedDictionaries property to manage resources. When the application removes a resource dictionary for an element, the reference for the element is not removed from the resource dictionary. This results in a memory leak. When you run the application for a long time, memory usage on the computer may increase significantly.

RESOLUTION

To resolve this issue, apply the hotfix package that is described in the following Microsoft Knowledge Base article:

2667241 An update rollup is available for Windows Presentation Foundation (WPF) for Microsoft .NET Framework 3.5

STATUS

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

Properties

Article ID: 980251 - Last Review: April 10, 2012 - Revision: 3.0
APPLIES TO
  • Microsoft .NET Framework 3.5 Service Pack 1
Keywords: 
kbexpertiseadvanced kbsurveynew kbqfe KB980251

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