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

This article has been archived. It is offered "as is" and will no longer be updated.


 
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: 12/12/2015 03:30:31 - Revision: 3.0

Microsoft .NET Framework 3.5 Service Pack 1

  • kbnosurvey kbarchive kbexpertiseadvanced kbsurveynew kbqfe KB980251
Feedback