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

Memory leak when using GridViewComboBoxColumn

2 Answers 256 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Shulla Krous
Top achievements
Rank 1
Shulla Krous asked on 20 Jan 2011, 09:44 AM

Hello,

I have come across a problem of memory leak when using GridViewComboBoxColumn.

I used the Memory Profiler program to ditect the problem.

I have opened  a form with a GridView control, which contains a GridViewComboBoxColumn.

Edited 5 cells of a GridViewComboBoxColumn type and took a snapshot of the memory,

The RadPropertyValue has used 11,500,000 bytes.

Edited 5 cells added of a GridViewComboBoxColumn type and took a snapshot of the memory,

The RadPropertyValue has used 42,300,000 bytes.

The attached files display the result.

After closing the form I took another snapshot which showed  that the instances where still indirectly rooted by an EventHandler.

 

This problem is causing the users to use a large amount of memory.

Dispirit for an answer.

Y. L.

2 Answers, 1 is accepted

Sort by
0
Jack
Telerik team
answered on 25 Jan 2011, 12:54 PM
Hello kr kr,

Thank you for contacting us.

From the first screenshot I can conclude that you are using an old version of our controls. In Q2 2010 SP1 we replaced the old RadComboBox control used in RadGridView with a new one - the RadDropDownList control. This new control is faster, supports UI virtualization and solves most of the issues that appeared in RadComboBox. I can confirm that there are no memory leaks when using our latest release and I recommend that you try it. We will also appreciate your feedback regarding our latest release.

If you have other questions, do not hesitate to contact me.

Greetings,
Jack
the Telerik team
Q3’10 SP1 of RadControls for WinForms is available for download; also available is the Q1'11 Roadmap for Telerik Windows Forms controls.
0
Shulla Krous
Top achievements
Rank 1
answered on 27 Jan 2011, 10:47 AM

Dear Jack

Thank you very much for your reply.

I am looking forward  to hear that the new RadDropDownList control, does not have any problems of memory leaks.

Greetings,
kr, kr.

Tags
GridView
Asked by
Shulla Krous
Top achievements
Rank 1
Answers by
Jack
Telerik team
Shulla Krous
Top achievements
Rank 1
Share this question
or