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
585
Big memory leak on xamGrid
posted

I have a table with huge amount of data. Data loaded with ria services.

When I use DataGrid to load the data with about 500-1000 rows. It's working fine. IE consume about 200M memorf for this SL app. If I turn on all settings for this xamGrid, like filter, Sum, ...in xaml and run it again, the memory comsumed reach to 1G, it is unacceptable. the IE is frozen.

I put this xamGrid on one of my Tab. When I close the tab, the memory is not released.

If I use XamGrid with no settings. Memory used almost same as datagrid.

How to resolve this problem? How to release the memroy for XamGrid with large amount of data?


  • 12773
    posted

    Hi,

    I want to let you know we recently fix this issue and now is included in the latest service release available for download form your account here:
    https://es.infragistics.com/Membership/Default.aspx?panel=Downloads#Downloads

    Please let me know if you have any further questions.


    Sincerely,
    Dimi
    Developer Support Engineer, MCPD
    Infragistics, Inc.
    www.infragistics.com/support

  • 6912
    Suggested Answer
    posted

    Hi,

    I was able to reproduce the issue based on your description. I opened a case (Case Number: CAS-62884-VPGH5Q, Development work item #70206) so you can be notified when we have a resolution.

    Regards

     

  • 585
    posted

    The settings I set for xamGrid caused memory leak are:

    <ig:XamGrid.RowSelectorSettings>
                        <ig:RowSelectorSettings x:Name="rowSelectorSettings" Visibility="Visible" />
                    </ig:XamGrid.RowSelectorSettings>
                    <ig:XamGrid.FilteringSettings>
                        <ig:FilteringSettings AllowFiltering="FilterRowTop"/>
                    </ig:XamGrid.FilteringSettings>
                    <ig:XamGrid.PagerSettings>
                        <ig:PagerSettings AllowPaging="Top" PageSize="20" />
                    </ig:XamGrid.PagerSettings>
                    <ig:XamGrid.ClipboardSettings>
                        <ig:ClipboardSettings AllowCopy="True" AllowPaste="True"/>
                    </ig:XamGrid.ClipboardSettings>
                    <ig:XamGrid.SortingSettings>
                        <ig:SortingSettings AllowMultipleColumnSorting="True" />
                    </ig:XamGrid.SortingSettings>
                    <ig:XamGrid.ColumnMovingSettings>
                        <ig:ColumnMovingSettings AllowColumnMoving="Indicator"/>
                    </ig:XamGrid.ColumnMovingSettings>
                    <ig:XamGrid.SelectionSettings>
                        <ig:SelectionSettings CellSelection="Multiple" ColumnSelection="Multiple" RowSelection="Multiple"/>
                    </ig:XamGrid.SelectionSettings>
                    <ig:XamGrid.ColumnChooserSettings>
                        <ig:ColumnChooserSettings AllowHideColumnIcon="True" AllowHiddenColumnIndicator="True"></ig:ColumnChooserSettings>
                    </ig:XamGrid.ColumnChooserSettings>
                    <ig:XamGrid.ColumnResizingSettings>
                        <ig:ColumnResizingSettings AllowColumnResizing="Indicator"   AllowMultipleColumnResize="True" AllowCellAreaResizing="True" AllowDoubleClickToSize="True" />
                    </ig:XamGrid.ColumnResizingSettings>
                    <ig:XamGrid.GroupBySettings>
                        <ig:GroupBySettings AllowGroupByArea="Top" />
                    </ig:XamGrid.GroupBySettings>
                    <ig:XamGrid.ConditionalFormattingSettings>
                        <ig:ConditionalFormattingSettings AllowConditionalFormatting="True" />
                    </ig:XamGrid.ConditionalFormattingSettings>
                    <ig:XamGrid.SummaryRowSettings>
                        <ig:SummaryRowSettings AllowSummaryRow="Both" SummaryScope="ChildBand" SummaryExecution="AfterFilteringAndPaging" />
                    </ig:XamGrid.SummaryRowSettings>

     

    So which one cause big memory problem and how to reslove it?