WPF binding memory leak

Use this forum for questions on how to use .NET Memory Profiler and how to analyse memory usage.
Post Reply
alexandrv
Posts: 8
Joined: Thu Jun 07, 2018 2:31 pm

WPF binding memory leak

Post by alexandrv » Tue Aug 17, 2021 4:19 pm

.NET Memory Profiler shows warnings (yellow color) "Potential WPF binding memory leak" for several classes in the application we are developing.
I tried to reproduce this issue in my simple WPF application, created class without INotifyPropertyChanged interface and added bindings to this class.
In this case .NET Memory Profiler shows just information indicators (blue color) for these bindings.

What is the difference for these two cases? I do not see any differences in my code.
And also I do not see memory leaks related to this, the window with these bindings is successfully disposed.
Attachments
WPF binding case1.png
WPF binding case2.png

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 21 guests