This is a migrated thread and some comments may be shown as answers.

Memory Leak: using RadGridView

1 Answer 131 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Abdulkarim
Top achievements
Rank 1
Abdulkarim asked on 10 Aug 2018, 04:09 AM

I have a WPF app using MVVM design pattern.
as I am testing for memory growth, I have come across memory leak. I have been trying to fix for days without success. If possible someone can point out the issue.

 

 

01.<Grid>
02.    <Grid.RowDefinitions>
03.        <RowDefinition Height="5"></RowDefinition>
04.        <RowDefinition Height="*"></RowDefinition>
05.    </Grid.RowDefinitions>
06.    <!--Service Header Editable Data-->
07.    <StackPanel Grid.Row="0">
08.    </StackPanel>
09.    <telerik:RadGridView x:Name="grid"
10.                            IsReadOnly="{Binding IsServiceReadOnly}"
11.                            ItemsSource="{Binding DetailsModel.Collection}"
12.                            SelectedItem="{Binding SelectedCharge, Mode=TwoWay}"
13.                            CellEditEnded="grid_CellEditEnded"
14.                            AutoGenerateColumns="False"
15.                            ShowGroupPanel="False"
16.                            RowIndicatorVisibility="Collapsed"
17.                            ShowColumnFooters="True"
18.                            CanUserFreezeColumns="False"
19.                            behav:GridFoucsBehav.GridFocusPosition="{Binding GridViewChargesFocColPos, Mode=TwoWay}">
20.        <telerik:RadGridView.Columns>
21.            <telerik:GridViewDataColumn Header="{lp:Lp UI:ServiceCode}"
22.                                        DataMemberBinding="{Binding ServiceCode}">
23.                <telerik:GridViewDataColumn.AggregateFunctions>
24.                    <telerik:CountFunction Caption="c: " />
25.                </telerik:GridViewDataColumn.AggregateFunctions>
26.                <telerik:GridViewDataColumn.CellEditTemplate>
27.                    <DataTemplate>
28.                        <CustomControl:MyControl SelectedIDPath="ID"
29.                                                    SelectedID="{Binding ServiceID}"
30.                                                    StringToSearch="{Binding ServiceCode}"
31.                                                    SelectedItem="{Binding DataContext.SelectedService, Mode=TwoWay, RelativeSource={RelativeSource Mode=FindAncestor,AncestorType={x:Type v:MyView}}}"
32.                                                    ExprQueryByString="{Binding DataContext.ServiceExprQueryByString, RelativeSource={RelativeSource Mode=FindAncestor,AncestorType={x:Type v:MyView}}}">
33.                            <CustomControl:Lookup.DisplayMemberPaths>
34.                                <s:String>code</s:String>
35.                            </CustomControl:Lookup.DisplayMemberPaths>
36.                            <CustomControl:Lookup.ColumnHeaders>
37.                                <s:String>Code</s:String>
38.                                <s:String>Description</s:String>
39.                            </CustomControl:Lookup.ColumnHeaders>
40.                        </CustomControl:MyControl>
41.                    </DataTemplate>
42.                </telerik:GridViewDataColumn.CellEditTemplate>
43.            </telerik:GridViewDataColumn>
44. 
45.            <telerik:GridViewDataColumn Header="{lp:Lp UI:ReceiptView_NumberOfUnit}"
46.                                        DataMemberBinding="{Binding NumberOfUnit}">
47.                <telerik:GridViewDataColumn.CellEditTemplate>
48.                    <DataTemplate>
49.                        <telerik:RadNumericUpDown Value="{Binding NumberOfUnit, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
50.                                                    UpdateValueEvent="PropertyChanged"
51.                                                    Minimum="0" />
52.                    </DataTemplate>
53.                </telerik:GridViewDataColumn.CellEditTemplate>
54.            </telerik:GridViewDataColumn>
55.            <telerik:GridViewDataColumn Header="{lp:Lp UI:Code}"
56.                                        DataMemberBinding="{Binding Code, Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}">
57.                <telerik:GridViewDataColumn.CellEditTemplate>
58.                    <DataTemplate>
59.                        <TextBox Text="{util:TwoWayBinding Code}" />
60.                    </DataTemplate>
61.                </telerik:GridViewDataColumn.CellEditTemplate>
62.            </telerik:GridViewDataColumn>
63.            <telerik:GridViewDataColumn Header="{lp:lp UI:Remarks}"
64.                                        DataMemberBinding="{Binding Remarks,Mode=TwoWay}">
65.                <telerik:GridViewDataColumn.CellEditTemplate>
66.                    <DataTemplate>
67.                        <TextBox Text="{Binding Remarks, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" />
68.                    </DataTemplate>
69.                </telerik:GridViewDataColumn.CellEditTemplate>
70.            </telerik:GridViewDataColumn>
71.        </telerik:RadGridView.Columns>
72.    </telerik:RadGridView>
73.</Grid>

 

after opening few windows and closing them, the memory grows, and the objects are still hanged in the memory.
this is for my windows:

MyWindow System.Windows.DataTemplate-> MyApp.MyWindow->(System.Windows.Controls.Border,System.Windows.EffectiveValueEntry [],System.Windows.Threading.Dispatcher,...): 12 MB (11.23%) (3 objects, 852 bytes (0.00%)) Previous allocations (newest to oldest): 11 MB (11.22%), 7.4 MB (7.19%), 7.4 MB
(7.19%),
Referred to by: 12 MB (11.23%) from System.Windows.DataTemplate System.Windows.EffectiveValueEntry []->System.Windows.DataTemplate->(MyWindow,System.Collections.Specialized.HybridDictionary,System.Windows.Threading.Dispatcher,...)
Referring to: 668 kB (0.64%) to Telerik.Windows.Controls.RadTabControl MyWindow->Telerik.Windows.Controls.RadTabControl->(System.Windows.EffectiveValueEntry [],System.Windows.Style,System.Windows.Threading.Dispatcher,...) 93 kB (0.09%) to MyApp.ItemsNavigator MyApp.MyWindow->MyApp.ItemsNavigator->(System.Windows.Controls.DockPanel,System.Windows.Threading.Dispatcher,Telerik.Windows.Controls.RadTabItem,...) 24 kB (0.02%) to Telerik.Windows.Controls.RadContextMenu MyApp.MyWindow->Telerik.Windows.Controls.RadContextMenu->(System.Windows.Controls.ControlTemplate,System.Windows.EffectiveValueEntry [],System.Windows.Threading.Dispatcher,...) 2.8 kB (0.00%) to System.Windows.Controls.Border MyApp.MyWindow->System.Windows.Controls.Border->(MyApp.MyWindow, System.Windows.EffectiveValueEntry [],System.Windows.Threading.Dispatcher) 3.3 MB (3.26%) to MyApp.LocalizedValidationPanel MyApp.MyWindow->MyApp.LocalizedValidationPanel->(System.Windows.Controls.ContentPresenter,System.Windows.Controls.Grid,System.Windows.Threading.Dispatcher,...) 3.0 MB (2.97%) to MyApp.ExRadGridView MyApp.MyWindow ->MyApp.ExRadGridView->(System.Windows.EffectiveValueEntry [],System.Windows.Style,System.Windows.Threading.Dispatcher,...) 2.2 MB (2.14%) to Telerik.Windows.Controls.RadGridView MyApp.MyWindow->Telerik.Windows.Controls.RadGridView->(System.Windows.EffectiveValueEntry [],System.Windows.Style,System.Windows.Threading.Dispatcher,...) 1.1 MB (1.06%) to MyApp.MenuItem MyApp.MyWindow->MyApp.MenuItem->(System.Windows.EffectiveValueEntry [],System.Windows.Style,System.Windows.Threading.Dispatcher,...) 1.1 MB (1.04%) to System.Windows.EffectiveValueEntry [] MyApp.MyWindow->System.Windows.EffectiveValueEntry []->(System.Collections.Hashtable,System.Uri,System.Windows.EventHandlersStore,...)

 

I got this. if it can be helpful

Telerik.Windows.Controls.RadGridView System.Collections.Generic.Dictionary.Entry []->Telerik.Windows.Controls.RadGridView->(System.Windows.EffectiveValueEntry [],System.Windows.Style,System.Windows.Threading.Dispatcher,...): 12 MB (100.00%) (3 objects, 0.0 bytes (0.00%))
Referred to by: 12 MB (100.00%) from System.Collections.Generic.Dictionary.Entry [] System.Collections.Generic.Dictionary->System.Collections.Generic.Dictionary.Entry []->(Telerik.Windows.Controls.RadGridView)
Referring to: 12 kB (0.10%) to System.Windows.EffectiveValueEntry [] Telerik.Windows.Controls.RadGridView->System.Windows.EffectiveValueEntry []->(MS.Utility.FrugalMap,System.Boolean,System.Windows.EventHandlersStore,...) 8.0 kB (0.07%) to Telerik.Windows.Data.DataItemCollection Telerik.Windows.Controls.RadGridView->Telerik.Windows.Data.DataItemCollection->(Telerik.Windows.Data.CompositeFilterDescriptorCollection,Telerik.Windows.Data.GroupDescriptorCollection,Telerik.Windows.Data.ObservableCollectionManagerCollection,...) 3.5 kB (0.03%) to System.Windows.Controls.Grid Telerik.Windows.Controls.RadGridView->System.Windows.Controls.Grid->(System.Windows.Controls.UIElementCollection,System.Windows.EffectiveValueEntry [],System.Windows.Threading.Dispatcher) 1.0 kB (0.01%) to Telerik.Windows.Controls.GridView.Selection.GridViewItemSelectionHandler Telerik.Windows.Controls.RadGridView->Telerik.Windows.Controls.GridView.Selection.GridViewItemSelectionHandler->(Telerik.Windows.Controls.RadGridView,Telerik.Windows.Data.DataItemCollection,Telerik.Windows.Data.Selection.InternalSelectionItemsStorage) 912 bytes (0.01%) to Telerik.Windows.Controls.GridView.Selection.SelectionDrag Telerik.Windows.Controls.RadGridView->Telerik.Windows.Controls.GridView.Selection.SelectionDrag->(Telerik.Windows.Controls.GridView.Scrolling.ScrollViewerCoordinator,Telerik.Windows.Controls.GridView.Selection.DefaultMouseInfoProvider,Telerik.Windows.Controls.RadGridView) 564 bytes (0.00%) to Telerik.Windows.Controls.GridView.GridViewItemContainerGenerator Telerik.Windows.Controls.RadGridView->Telerik.Windows.Controls.GridView.GridViewItemContainerGenerator->(System.Collections.Generic.Queue,Telerik.Windows.Controls.GridView.GridViewItemContainerGenerator.ItemBlock,Telerik.Windows.Controls.RadGridView) 504 bytes (0.00%) to Telerik.Windows.Controls.GridView.Selection.CellSelectionHandler Telerik.Windows.Controls.RadGridView->Telerik.Windows.Controls.GridView.Selection.CellSelectionHandler->(Telerik.Windows.Controls.GridView.Selection.CellInfoCollection,Telerik.Windows.Controls.RadGridView) 504 bytes (0.00%) to Telerik.Windows.Controls.GridView.DetailsProvider Telerik.Windows.Controls.RadGridView->Telerik.Windows.Controls.GridView.DetailsProvider->(System.Action,System.Func) 360 bytes (0.00%) to System.Globalization.CultureInfo Telerik.Windows.Controls.RadGridView->System.Globalization.CultureInfo->(System.Globalization.TextInfo,System.String) 288 bytes (0.00%) to Telerik.Windows.Data.AggregateResultCollection Telerik.Windows.Controls.RadGridView->Telerik.Windows.Data.AggregateResultCollection->(System.Collections.Generic.List) 288 bytes (0.00%) to System.Collections.ObjectModel.ObservableCollection Telerik.Windows.Controls.RadGridView->System.Collections.ObjectModel.ObservableCollection->(System.Collections.Generic.List,System.Collections.ObjectModel.ObservableCollection.SimpleMonitor) 240 bytes (0.00%) to System.Collections.Generic.HashSet Telerik.Windows.Controls.RadGridView->System.Collections.Generic.HashSet->(System.Collections.Generic.ObjectEqualityComparer) 228 bytes (0.00%) to System.EventHandler Telerik.Windows.Controls.RadGridView->System.EventHandler->(Behaviors.AlignGridViewCellBehav) 216 bytes (0.00%) to Telerik.Windows.Controls.GridView.ItemDataCellPresenterHeightStorage Telerik.Windows.Controls.RadGridView->Telerik.Windows.Controls.GridView.ItemDataCellPresenterHeightStorage->(System.Collections.Generic.Dictionary) 192 bytes (0.00%) to Telerik.Windows.Controls.GridView.Selection.CellAndRowSelectionDispatcher Telerik.Windows.Controls.RadGridView->Telerik.Windows.Controls.GridView.Selection.CellAndRowSelectionDispatcher->(System.Func,Telerik.Windows.Controls.GridView.KeyboardModifiersProvider) 192 bytes (0.00%) to System.Collections.ObjectModel.ObservableCollection Telerik.Windows.Controls.RadGridView->System.Collections.ObjectModel.ObservableCollection->(System.Collections.Generic.List) 180 bytes (0.00%) to Telerik.Windows.Controls.GridView.ItemAttachedStorage Telerik.Windows.Controls.RadGridView->Telerik.Windows.Controls.GridView.ItemAttachedStorage->(System.Collections.Generic.Dictionary) 72 bytes (0.00%) to System.Collections.Generic.List Telerik.Windows.Controls.RadGridView->System.Collections.Generic.List->(System.Action []) 36 bytes (0.00%) to Telerik.Windows.Controls.GridView.Selection.CompositeSelectionHandler Telerik.Windows.Controls.RadGridView->Telerik.Windows.Controls.GridView.Selection.CompositeSelectionHandler->(Telerik.Windows.Controls.RadGridView) 36 bytes (0.00%) to Telerik.Windows.Controls.GridView.DefaultCellLocator Telerik.Windows.Controls.RadGridView->Telerik.Windows.Controls.GridView.DefaultCellLocator->(Telerik.Windows.Controls.RadGridView) 12 MB (99.74%) to Telerik.Windows.Controls.GridViewColumnCollectionInternal Telerik.Windows.Controls.RadGridView->Telerik.Windows.Controls.GridViewColumnCollectionInternal->(System.Collections.Generic.List,System.Collections.Generic.List,System.Collections.ObjectModel.ObservableCollection.SimpleMonitor,...)

 

as you noticed in the last details, it says 3 objects after opening the window and closing for three times. I have spent quite long time trying to figure out what is going on, but I couldn't. I worked on different screens with RadGridView and pretty much same controls and there is no problem. Did I miss out anything?
If you need further details, let me know
FYI: when RadGridView is commented out, there is no problem

 

MS.Internal.ComponentModel.DependencyObjectPropertyDescriptor System.Collections.Generic.Dictionary.Entry []->MS.Internal.ComponentModel.DependencyObjectPropertyDescriptor->(System.Object,System.String,System.Windows.DependencyProperty,...): 12 MB (100.00%)
Referred to by: 12 MB (100.00%) from
Referring to: 12 MB (100.00%) to System.Collections.Generic.Dictionary MS.Internal.ComponentModel.DependencyObjectPropertyDescriptor->System.Collections.Generic.Dictionary->(System.Collections.Generic.ObjectEqualityComparer,System.Int32 [])

 

MS.Internal.ComponentModel.DependencyObjectPropertyDescriptor System.Collections.Generic.Dictionary<T,U>.Entry []->MS.Internal.ComponentModel.DependencyObjectPropertyDescriptor->(System.Object,System.String,System.Windows.DependencyProperty,...):    26 MB    (13.68%)  (168 objects,   32 kB    (0.02%))
 
Referred to by:
  26 MB    (13.68%) from    System.Collections.Generic.Dictionary<T,U>.Entry [] System.Collections.Generic.Dictionary<T,U>->System.Collections.Generic.Dictionary<T,U>.Entry []->(MS.Internal.ComponentModel.DependencyObjectPropertyDescriptor,System.ComponentModel.ReflectPropertyDescriptor)
 
Referring to:
3.9 kB    (0.00%) to    System.Object   MS.Internal.ComponentModel.DependencyObjectPropertyDescriptor->System.Object
3.2 kB    (0.00%) to    System.Windows.PropertyMetadata MS.Internal.ComponentModel.DependencyObjectPropertyDescriptor->System.Windows.PropertyMetadata->(System.Windows.PropertyChangedCallback)
3.1 kB    (0.00%) to    System.Windows.PropertyMetadata MS.Internal.ComponentModel.DependencyObjectPropertyDescriptor->System.Windows.PropertyMetadata->(System.Boolean,System.Windows.FreezeValueCallback)
1.2 kB    (0.00%) to    System.Windows.FrameworkPropertyMetadata MS.Internal.ComponentModel.DependencyObjectPropertyDescriptor->System.Windows.FrameworkPropertyMetadata->(System.Double,System.Windows.FreezeValueCallback)
1.1 kB    (0.00%) to    System.Windows.FrameworkPropertyMetadata MS.Internal.ComponentModel.DependencyObjectPropertyDescriptor->System.Windows.FrameworkPropertyMetadata->(System.Boolean,System.Windows.FreezeValueCallback)
784 bytes (0.00%) to    System.Windows.PropertyMetadata MS.Internal.ComponentModel.DependencyObjectPropertyDescriptor->System.Windows.PropertyMetadata->(System.Boolean)
600 bytes (0.00%) to    System.Windows.UIPropertyMetadata MS.Internal.ComponentModel.DependencyObjectPropertyDescriptor->System.Windows.UIPropertyMetadata->(System.Windows.PropertyChangedCallback)
480 bytes (0.00%) to    System.Windows.FrameworkPropertyMetadata MS.Internal.ComponentModel.DependencyObjectPropertyDescriptor->System.Windows.FrameworkPropertyMetadata->(System.Windows.PropertyChangedCallback)
368 bytes (0.00%) to    System.Windows.PropertyMetadata MS.Internal.ComponentModel.DependencyObjectPropertyDescriptor->System.Windows.PropertyMetadata->(System.Windows.FreezeValueCallback,System.Windows.PropertyChangedCallback)
368 bytes (0.00%) to    System.Windows.UIPropertyMetadata MS.Internal.ComponentModel.DependencyObjectPropertyDescriptor->System.Windows.UIPropertyMetadata->(System.Boolean,System.Windows.CoerceValueCallback)
336 bytes (0.00%) to    System.Windows.FrameworkPropertyMetadata MS.Internal.ComponentModel.DependencyObjectPropertyDescriptor->System.Windows.FrameworkPropertyMetadata->(System.Windows.FreezeValueCallback)
240 bytes (0.00%) to    System.Windows.FrameworkPropertyMetadata MS.Internal.ComponentModel.DependencyObjectPropertyDescriptor->System.Windows.FrameworkPropertyMetadata->(System.Windows.Media.SolidColorBrush)
240 bytes (0.00%) to    System.Windows.PropertyMetadata MS.Internal.ComponentModel.DependencyObjectPropertyDescriptor->System.Windows.PropertyMetadata->(System.Int32,System.Windows.FreezeValueCallback)
240 bytes (0.00%) to    System.Windows.PropertyMetadata MS.Internal.ComponentModel.DependencyObjectPropertyDescriptor->System.Windows.PropertyMetadata->(System.Windows.FreezeValueCallback,System.Windows.Media.SolidColorBrush)
184 bytes (0.00%) to    System.Windows.FrameworkPropertyMetadata MS.Internal.ComponentModel.DependencyObjectPropertyDescriptor->System.Windows.FrameworkPropertyMetadata->(System.Windows.FreezeValueCallback,System.Windows.PropertyChangedCallback)
168 bytes (0.00%) to    System.Windows.FrameworkPropertyMetadata MS.Internal.ComponentModel.DependencyObjectPropertyDescriptor->System.Windows.FrameworkPropertyMetadata->(System.Windows.Thickness)
168 bytes (0.00%) to    System.Windows.PropertyMetadata MS.Internal.ComponentModel.DependencyObjectPropertyDescriptor->System.Windows.PropertyMetadata->(System.Windows.FreezeValueCallback)
144 bytes (0.00%) to    System.Windows.FrameworkPropertyMetadata MS.Internal.ComponentModel.DependencyObjectPropertyDescriptor->System.Windows.FrameworkPropertyMetadata->(System.Windows.FontWeight,System.Windows.FreezeValueCallback)
144 bytes (0.00%) to    System.Windows.FrameworkPropertyMetadata MS.Internal.ComponentModel.DependencyObjectPropertyDescriptor->System.Windows.FrameworkPropertyMetadata->(System.Windows.FontStyle,System.Windows.FreezeValueCallback)
120 bytes (0.00%) to    System.Windows.PropertyMetadata MS.Internal.ComponentModel.DependencyObjectPropertyDescriptor->System.Windows.PropertyMetadata->(System.Windows.FreezeValueCallback,Telerik.Windows.Controls.GridView.DataLoadMode)
120 bytes (0.00%) to    System.Windows.PropertyMetadata MS.Internal.ComponentModel.DependencyObjectPropertyDescriptor->System.Windows.PropertyMetadata->(System.Windows.FreezeValueCallback,Telerik.Windows.Controls.GridView.GridViewNewRowPosition)
120 bytes (0.00%) to    System.Windows.FrameworkPropertyMetadata MS.Internal.ComponentModel.DependencyObjectPropertyDescriptor->System.Windows.FrameworkPropertyMetadata->(System.Int32,System.Windows.FreezeValueCallback)
120 bytes (0.00%) to    System.Windows.FrameworkPropertyMetadata MS.Internal.ComponentModel.DependencyObjectPropertyDescriptor->System.Windows.FrameworkPropertyMetadata->(System.Windows.FreezeValueCallback,Telerik.Windows.Controls.GridView.GridViewSelectionUnit)
120 bytes (0.00%) to    System.Windows.PropertyMetadata MS.Internal.ComponentModel.DependencyObjectPropertyDescriptor->System.Windows.PropertyMetadata->(System.Windows.FreezeValueCallback,Telerik.Windows.Controls.GridView.GridViewRowDetailsVisibilityMode)
120 bytes (0.00%) to    System.Windows.PropertyMetadata MS.Internal.ComponentModel.DependencyObjectPropertyDescriptor->System.Windows.PropertyMetadata->(System.Windows.FreezeValueCallback,Telerik.Windows.Controls.GridView.GroupRenderMode)
120 bytes (0.00%) to    System.Windows.PropertyMetadata MS.Internal.ComponentModel.DependencyObjectPropertyDescriptor->System.Windows.PropertyMetadata->(System.Windows.Controls.SelectionMode,System.Windows.FreezeValueCallback)
120 bytes (0.00%) to    System.Windows.PropertyMetadata MS.Internal.ComponentModel.DependencyObjectPropertyDescriptor->System.Windows.PropertyMetadata->(System.Windows.FreezeValueCallback,Telerik.Windows.Controls.GridView.GridLinesVisibility)
120 bytes (0.00%) to    System.Windows.PropertyMetadata MS.Internal.ComponentModel.DependencyObjectPropertyDescriptor->System.Windows.PropertyMetadata->(System.Windows.FreezeValueCallback,Telerik.Windows.Controls.GridView.ScrollUpdateMode)
120 bytes (0.00%) to    System.Windows.PropertyMetadata MS.Internal.ComponentModel.DependencyObjectPropertyDescriptor->System.Windows.PropertyMetadata->(System.Windows.FreezeValueCallback,Telerik.Windows.Controls.GridView.FilteringMode)
120 bytes (0.00%) to    System.Windows.PropertyMetadata MS.Internal.ComponentModel.DependencyObjectPropertyDescriptor->System.Windows.PropertyMetadata->(System.Windows.FreezeValueCallback,Telerik.Windows.Controls.GridView.MergedCellsDirection)
120 bytes (0.00%) to    System.Windows.PropertyMetadata MS.Internal.ComponentModel.DependencyObjectPropertyDescriptor->System.Windows.PropertyMetadata->(System.Double,System.Windows.FreezeValueCallback)
120 bytes (0.00%) to    System.Windows.PropertyMetadata MS.Internal.ComponentModel.DependencyObjectPropertyDescriptor->System.Windows.PropertyMetadata->(System.Windows.FreezeValueCallback,Telerik.Windows.Controls.GridViewClipboardCopyMode)
120 bytes (0.00%) to    System.Windows.UIPropertyMetadata MS.Internal.ComponentModel.DependencyObjectPropertyDescriptor->System.Windows.UIPropertyMetadata->(System.Double,System.Windows.FreezeValueCallback)
120 bytes (0.00%) to    System.Windows.FrameworkPropertyMetadata MS.Internal.ComponentModel.DependencyObjectPropertyDescriptor->System.Windows.FrameworkPropertyMetadata->(System.Windows.FreezeValueCallback,System.Windows.Media.MatrixTransform)
120 bytes (0.00%) to    System.Windows.PropertyMetadata MS.Internal.ComponentModel.DependencyObjectPropertyDescriptor->System.Windows.PropertyMetadata->(System.Windows.FreezeValueCallback,System.Windows.Visibility)
120 bytes (0.00%) to    System.Windows.PropertyMetadata MS.Internal.ComponentModel.DependencyObjectPropertyDescriptor->System.Windows.PropertyMetadata->(System.Windows.FreezeValueCallback,Telerik.Windows.Controls.GridViewClipboardPasteMode)
120 bytes (0.00%) to    System.Windows.FrameworkPropertyMetadata MS.Internal.ComponentModel.DependencyObjectPropertyDescriptor->System.Windows.FrameworkPropertyMetadata->(System.Windows.FreezeValueCallback,System.Windows.Media.FontFamily)
120 bytes (0.00%) to    System.Windows.PropertyMetadata MS.Internal.ComponentModel.DependencyObjectPropertyDescriptor->System.Windows.PropertyMetadata->(System.Windows.FreezeValueCallback,System.Windows.Point)
120 bytes (0.00%) to    System.Windows.PropertyMetadata MS.Internal.ComponentModel.DependencyObjectPropertyDescriptor->System.Windows.PropertyMetadata->(System.Windows.FreezeValueCallback,System.Windows.Media.MatrixTransform)
112 bytes (0.00%) to    System.Windows.FrameworkPropertyMetadata MS.Internal.ComponentModel.DependencyObjectPropertyDescriptor->System.Windows.FrameworkPropertyMetadata->(System.Windows.VerticalAlignment)
112 bytes (0.00%) to    System.Windows.PropertyMetadata MS.Internal.ComponentModel.DependencyObjectPropertyDescriptor->System.Windows.PropertyMetadata->(System.Windows.Media.SolidColorBrush)
112 bytes (0.00%) to    System.Windows.FrameworkPropertyMetadata MS.Internal.ComponentModel.DependencyObjectPropertyDescriptor->System.Windows.FrameworkPropertyMetadata->(System.Windows.HorizontalAlignment)
112 bytes (0.00%) to    System.Windows.PropertyMetadata MS.Internal.ComponentModel.DependencyObjectPropertyDescriptor->System.Windows.PropertyMetadata->(System.Windows.Visibility)
112 bytes (0.00%) to    System.Windows.FrameworkPropertyMetadata MS.Internal.ComponentModel.DependencyObjectPropertyDescriptor->System.Windows.FrameworkPropertyMetadata->(System.Boolean)
  56 bytes (0.00%) to   System.Windows.FrameworkPropertyMetadata MS.Internal.ComponentModel.DependencyObjectPropertyDescriptor->System.Windows.FrameworkPropertyMetadata->(System.String)
  56 bytes (0.00%) to   System.Windows.UIPropertyMetadata MS.Internal.ComponentModel.DependencyObjectPropertyDescriptor->System.Windows.UIPropertyMetadata->(System.String)
  56 bytes (0.00%) to   System.Windows.PropertyMetadata MS.Internal.ComponentModel.DependencyObjectPropertyDescriptor->System.Windows.PropertyMetadata->(Telerik.Windows.Controls.GridView.GridViewEditTriggers)
  56 bytes (0.00%) to   System.Windows.FrameworkPropertyMetadata MS.Internal.ComponentModel.DependencyObjectPropertyDescriptor->System.Windows.FrameworkPropertyMetadata->(System.Windows.FontStretch)
  56 bytes (0.00%) to   System.Windows.PropertyMetadata MS.Internal.ComponentModel.DependencyObjectPropertyDescriptor->System.Windows.PropertyMetadata->(Telerik.Windows.Controls.GridViewValidationMode)
  56 bytes (0.00%) to   System.Windows.PropertyMetadata MS.Internal.ComponentModel.DependencyObjectPropertyDescriptor->System.Windows.PropertyMetadata->(Telerik.Windows.Controls.ActionOnLostFocus)
  56 bytes (0.00%) to   System.Windows.FrameworkPropertyMetadata MS.Internal.ComponentModel.DependencyObjectPropertyDescriptor->System.Windows.FrameworkPropertyMetadata->(System.Windows.Style)
  56 bytes (0.00%) to   System.Windows.PropertyMetadata MS.Internal.ComponentModel.DependencyObjectPropertyDescriptor->System.Windows.PropertyMetadata->(Telerik.Windows.Controls.GridView.ColumnReorderOptions)
  56 bytes (0.00%) to   System.Windows.FrameworkPropertyMetadata MS.Internal.ComponentModel.DependencyObjectPropertyDescriptor->System.Windows.FrameworkPropertyMetadata->(Telerik.Windows.Controls.GridViewLength)
  56 bytes (0.00%) to   System.Windows.FrameworkPropertyMetadata MS.Internal.ComponentModel.DependencyObjectPropertyDescriptor->System.Windows.FrameworkPropertyMetadata->(System.Double)
  26 MB    (13.65%) to  System.Collections.Generic.Dictionary<T,U> MS.Internal.ComponentModel.DependencyObjectPropertyDescriptor->System.Collections.Generic.Dictionary<T,U>->(System.Collections.Generic.ObjectEqualityComparer<T>,System.Int32 [])



We're using Telerik.WPF.UIControl_2015Q2 for .NET Framework 4.0

 

Thank you








1 Answer, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 14 Aug 2018, 01:36 PM
Hello Abdulkarim,

Thank you for the detailed report.

For the time being I cannot relate it to any known issue of the control. From the provided information I get the impression that the problem is related to the selection of the control. Can you please confirm this? What are the exact steps that need to be taken to reproduce the problem? Also, I noticed that some behavior that might be related to manipulating the focus of RadGridView is defined? What is the purpose of this behavior? I would like to clarify, that generally manipulating the focus of the control is not recommended as it is used internally for various of RadGridView's operations. And finally, since you are not using the latest official binaries, may I kindly ask you to try upgrading to the latest official version? Is the memory leak reproduced with it as well?

Thank you in advance for your cooperation.

Regards,
Stefan
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
GridView
Asked by
Abdulkarim
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Share this question
or