Article ID: 981107 - View products that this article applies to.
A hotfix is available that resolves the following memory leak issues for Windows Presentation Foundation (WPF) in the Microsoft .NET Framework 3.0 Service Pack 2 (SP2).
Note The .NET Framework 3.0 SP2 is contained in the Microsoft .NET Framework 3.5 Service Pack 1 (SP1).
Issue 1You run a WPF application that contains styles or templates that refer to application resources by using the StaticResource markup extension or the DynamicResource markup extension. Many controls that use these styles or templates are created. However, these controls do not use the referred resources. In this situation, the memory of some DeferredAppResourceReference objects is leaked after garbage collections free the controls.
Issue 2You run a WPF application that contains controls whose properties are data-bound to DependencyObject objects. The lifetime of the objects is longer than the lifetime of the controls. When many controls are created, the memory of some WeakReference objects and of holding array spaces is leaked after garbage collections free the controls.
Issue 3You run a WPF application that uses TreeView controls or controls that are derived from the Selector class. The controls register an internal notification to control keyboard focus in the KeyboardNavigation class. The application creates many of these controls. For example, you add and then delete these controls. In this example, the memory of some WeakReference objects and of holding array spaces is leaked after garbage collections free the controls.
To resolve this issue, apply the hotfix package that is described in the following Microsoft Knowledge Base article:
(http://support.microsoft.com/kb/2667241 / )An update rollup is available for Windows Presentation Foundation (WPF) for Microsoft .NET Framework 3.5
For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:
(http://support.microsoft.com/kb/824684/ )Description of the standard terminology that is used to describe Microsoft software updates
Contact us for more help
Connect with Answer Desk for expert help.