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

Memory leak if bounded data doesn't implement INotifyPropertyChanged

3 Answers 93 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Develope
Top achievements
Rank 1
Develope asked on 02 Nov 2012, 02:06 PM
Hi,

I use the RadGridView in a very simple way. I bind a collection of simple objects with two string properties and a collection of some arbitrary child objects to the RadGridView. In addition this collection is cleared and refilled every three seconds.

The situation I see is if the class used in the bound collection implements the INotifyPropertyChanged interface everything is fine. If this class does not implement this interface it seems to be leaking and runs out of memory after about 20 seconds (OutOfMemoryException).

Is it really a must to implement this interface even if no data change is necessary?
It's a little bit hard if you want to use an external object and always have to wrap it.

Or is it just a Bug?

Telerik Version: 2011.1.315.40

Thanks and best regards

PS. Is there a way to provide you a sample project? I have a simple one were the effect is clearly seen.

3 Answers, 1 is accepted

Sort by
0
Dimitrina
Telerik team
answered on 02 Nov 2012, 03:05 PM
Hello,

The GridView does not have such a requirement. You use quite an old version, would you please test with our most recent version - Q3 2012?

You can send us a demo project through a Support ticket.

Greetings,
Didie
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Develope
Top achievements
Rank 1
answered on 05 Nov 2012, 07:46 AM
Hi,

thanks for your fast reply. I already have tested it with your recent version and its works with that. This was actually the reason I provided our used version because it is not that easy to make update in our case. We have nearly a thousand views based on your product and unfortunately prior updates came with a lot of trouble thru changes were made. An update would cause several weeks of retesting and shipping delays.

Is there a way you provide merged bugfixes in older versions?

Thanks and best regards


0
Dimitrina
Telerik team
answered on 05 Nov 2012, 09:53 AM
Hi,

Unfortunately we do not provide such merged builds in older versions. Our latest version is actually the one that has all the fixes. I would suggest you to upgrade.

Regards,
Didie
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
GridView
Asked by
Develope
Top achievements
Rank 1
Answers by
Dimitrina
Telerik team
Develope
Top achievements
Rank 1
Share this question
or