Search found 2 matches

by acss_support
Wed Oct 28, 2009 3:29 pm
Forum: Using .NET Memory Profiler
Topic: UserPreferenceChangedEventHandler causing memory leaks
Replies: 2
Views: 7583

Yes you are correct. The grid instances that are no longer in use are kept alive by the UserPrefrencesChangedEvent. We are using many user controls in our application and Dispose method on those controls are automatically called when we close the form on which these controls are placed (Designer.cs ...
by acss_support
Mon Oct 26, 2009 9:21 pm
Forum: Using .NET Memory Profiler
Topic: UserPreferenceChangedEventHandler causing memory leaks
Replies: 2
Views: 7583

UserPreferenceChangedEventHandler causing memory leaks

Using the profiler it has been determined that UserPreferenceChanged event handler causing memory leaks when we use the GridView control in our application. Q. Why is UserPreferenceEvent handler holding the objects in the memory and causing leaks when that event is not even created any where in the ...