Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
305
Memory leak in Infragistics.Windows.DataPresenter.XamDataGrid
posted

In a WPF application, I have UserControls which contain XamDataGrids. I fill the grid DataSources with a List<T> of objects.  The UserControls loads ok. The problem comes when the UserControl is closed/disposed.  The list and the objects loaded onto the grid are NEVER released from memory. Tracking them, they are held by:

Infragistics.Windows.DataPresenter.XamDataGrid (1 instance) -> System.Windows.ResourceDictionary (1 instance) -> System.Collections.Generic.List<Windows.FrameworkElement> (1 instance) -> System.Windows.FrameworkElement[] (1 instance) -> Infragistics.Windows.DataPresenter.XamDataGrid (1 instance) -> System.Windows.EffectiveValueEntry[] (1 instance) -> List<T> (1 instance) (this is my list of objects)

Please, could anybody tell me if there is patch, a rollback or something to avoid this situation?

Thanks.