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

Virtualization Memory Usage

3 Answers 58 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Rupendra
Top achievements
Rank 1
Rupendra asked on 10 May 2011, 10:01 PM
We have a grid which is loading programatically columns and it's datatemplate. The column might contain a label or a link or an Items control containing multiple links. The grid is using virtualization and contains couple of hundered records however there are two problems as far as the performance is concerned.

1. The memory footprint goes in increasing even by scrolling the grid up and down. We have seen it going from 6 MB to 150+ MB in a matter of minutes of scrolling.
2. The grid becomes extremly slow when styles are applied to it.

Turning Virtualization off fixes the ever increasing memory footprint.


Sidenote: We have also started getting a lot of errors descibed on this thread (http://www.telerik.com/community/forums/silverlight/gridview/system-nullreferenceexception-at-at-telerik-windows-controls-gridview-selectivescrollinggrid-layoutawarebindinghelperproxy.aspx). Can by chance that be a reason why the performance issues are also showing up ? This thread says that it has been fixed in the internal build. When do you plan to release that ?

3 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 11 May 2011, 06:47 AM
Hello,

 The memory consumption and possible leaks are directly related to what's in your template. Can you remove the template temporary to see if you will have the same problems? Can you post more info about your Silverlight and RadGridView versions?

You can get our latest build to resolve the second problem.

All the best,
Vlad
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Rupendra
Top achievements
Rank 1
answered on 17 May 2011, 09:04 PM
Ticket submitted.
0
Accepted
Vlad
Telerik team
answered on 18 May 2011, 09:11 AM
Hello,

 I've reviewed your project and I've noticed that you've set explicitly various styles for the grid which is slowing the grid scrolling performance. Please check this article in our documentation to know more about this:
http://www.telerik.com/help/silverlight/gridview-troubleshooting-performance.html

The grid scrolling will be much faster if you use implicit styles for rows instead and AlternateRowBackground instead AlternateRowStyle.

All the best,
Vlad
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
GridView
Asked by
Rupendra
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Rupendra
Top achievements
Rank 1
Share this question
or