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

Memory leak?

7 Answers 118 Views
GridView
This is a migrated thread and some comments may be shown as answers.
JDB
Top achievements
Rank 1
JDB asked on 29 Sep 2009, 03:09 PM
Hi,

In the application we're building we use the RadGridView (version 2009.2.701.35) in an UserControl that is added to a TabControl as the content of a TabItem.

When the TabItem containing the RadGridView is removed from the TabControl (=closed), the application still holds a reference to the UserControl. We've tried everything, including memory profiling. If we replace the RadGridView with a standard WPF ListView on the UserControl, the reference to the UserControl no longer exists!

To reproduce this in a more simple environment, we created a new WPF application containing 2 Windows. The startup window contains 1 button, doing nothing more then showing the 2nd window. The 2nd window contains a RadGridView, and in the constructor of the window the RadGridView is filled with 300.000 items.

Memory profiling that test application shows that after closing the 2nd window, there is still a reference to it, while if we replace the RadGridView with a standard WPF ListView again, there is no reference.

Is there something we're missing or is this a (serious) bug in the RadGridView? I can't find anything in the release notes newer then the version we use that this is already fixed, nor can I find anything on the forums about a memory leak...

7 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 29 Sep 2009, 03:13 PM
Hi RVW,

Please try our latest official service pack (Q2 SP1) or even our latest internal build and let us know immediately if this issue still exist.

Best wishes,
Vlad
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
zai yunfeng
Top achievements
Rank 2
answered on 30 Sep 2009, 05:53 AM
Hi,
The version I use is Q2 2009.2.813.35,and the same problem exists.
0
JDB
Top achievements
Rank 1
answered on 30 Sep 2009, 06:01 AM
Hi Vlad,

Thanks for the fast response!

And Zai, thanks for saving me the trouble of having to test 2 versions :)

Just now, I tested it with the latest internal build (2009.2.925.35), and the problem still exists.
0
Stefan Dobrev
Telerik team
answered on 30 Sep 2009, 11:04 AM
Hi RVW,

We have already prepared a fix for the problem that zai has reported. The next internal build will include it.

Sincerely yours,
Stefan Dobrev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
JDB
Top achievements
Rank 1
answered on 30 Sep 2009, 11:09 AM
Hi Stefan,

Thanks for your response. I hope that it fixes my problem, that I reported in this thread...
0
JDB
Top achievements
Rank 1
answered on 05 Oct 2009, 06:41 AM
Just tested this again in the latest internal build (2009.2.1002.35), and I no longer see it occur! Great job!

When is the next release scheduled? Can't wait to get this fix :)
0
Hristo
Telerik team
answered on 05 Oct 2009, 01:44 PM
Hi RVW,

The next official release - Q3 2009 - is scheduled for the beginning of November.

Kind regards,
Hristo
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
GridView
Asked by
JDB
Top achievements
Rank 1
Answers by
Vlad
Telerik team
zai yunfeng
Top achievements
Rank 2
JDB
Top achievements
Rank 1
Stefan Dobrev
Telerik team
Hristo
Telerik team
Share this question
or