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

Performance issue with gridview

5 Answers 179 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Subodh
Top achievements
Rank 1
Subodh asked on 25 Feb 2009, 02:57 PM
Hi,

I tested the gridview control (futures build) for performance, following are the issues i faced
1: (2000 rows) The Memory consumption increases drastically when we scroll, i.e. each time you scroll the memory consumption increases -- (the start size was 40 MB and and it touched 200 MB in some 2 min of scrolling)
2: for 2000 rows the responsiveness for scrolling deteriorates and for 5000 rows the gridview becomes very unresponsive.

I would like to know whether these issues still exists in the latest build of your product, or can i expect them fixed in the Q1 release build

Regards,
Subodh


5 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 26 Feb 2009, 06:39 AM
Hi Subodh,

Is this the default grid scrolling (Deferred) or ScrollMode is set to "RealTime" in your case?

Best wishes,
Vlad
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Subodh
Top achievements
Rank 1
answered on 04 Mar 2009, 09:22 AM
I have tested in both the cases 'Deferred' and 'Realtime'
- In case of RealTime the the grid eats more memory than in case of 'Deffered' during scrolling, but in both the case the memory leak is significant

please let me know if this issue shall be fixed in the Q1 release
0
Hristo Deshev
Telerik team
answered on 04 Mar 2009, 03:04 PM
Hi Subodh,

We have discovered a nasty leak that would cause all GridViewRow objects ever to be instantiated to remain in memory due to a hooked CLR event. That will get fixed for Q1.

Sincerely yours,
Hristo Deshev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Devon
Top achievements
Rank 1
answered on 16 Mar 2009, 10:24 PM
I have noticed this problem also, I now have Q1 and I am experiencing a memory leak with the grid.  I have a tree, and a button.  I check the values from the tree that I want displayed on the grid, and click the button to get the data, and bind the data to the grid.  Every time I click the button, the memory used increases for the grid, no matter how small, or large the data set is.  We tested it out, and every time we click the button, it takes more time to load.  Ex: 1st load: 2 secs, 2nd load: 4 secs, 3rd load: 6 secs....  Please fix this, it is a show stopper, and has made our software unusable.
0
Vlad
Telerik team
answered on 17 Mar 2009, 04:41 PM
Hi Devon,

Can you isolate that in a small project and send it to me? I'd like to investigate that using a debugger that can inspect .NET heap allocations and see what is causing the leak.

Sincerely yours,
Hristo Deshev
the Telerik team



Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
GridView
Asked by
Subodh
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Subodh
Top achievements
Rank 1
Hristo Deshev
Telerik team
Devon
Top achievements
Rank 1
Share this question
or