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

GridView scrolling memory usage/leak

2 Answers 297 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Brandon
Top achievements
Rank 1
Brandon asked on 02 May 2013, 07:27 PM
I am using a RadGridView with a bound QueryableCollectionView.

Virtualization is enabled

Anytime I scroll through the grid, memory usage of the application goes up and up and up, and never comes back down, even after forcing calls to GC.Collect().  Am I missing something here or is there some issue with scrolling through a QueryableCollectionView?

Thanks,
Brandon

2 Answers, 1 is accepted

Sort by
0
Dimitrina
Telerik team
answered on 03 May 2013, 10:48 AM
Hello Brandon,

We are currently not aware of any Memory Leaks when scrolling. May I ask you to download the Latest Internal Build and test with those most recent binaries?

In general I would suggest you to go through the Degraded Performance help article suggesting on how you could improve the performance. 
Then I would suggest you to call the GC like so: 

GC.Collect();
GC.SuppressFinalize(this);
GC.Collect();

Still even with this code you cannot be sure when the GC will actually execute.

Regards,
Didie
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Brandon
Top achievements
Rank 1
answered on 03 May 2013, 01:25 PM
I figured out the issue.  I had not set GroupRenderMode...and it did not default to Flat, so I set it to Flat and it works much better now.
Tags
GridView
Asked by
Brandon
Top achievements
Rank 1
Answers by
Dimitrina
Telerik team
Brandon
Top achievements
Rank 1
Share this question
or