Hello Sodi We,
There was a memory leak with the older version of WCF RIA Services, but they fixed it with SP1.
Anyway, we have our own control that is a direct replacement of the DomainDataSource. Here are its release notes:
Due to the unplanned for increase in interest in development of Silverlight line of business applications, we are making our latest addition to our Silverlight suite available before our next major release so we can enable our clients to focus on delivering their great applications without worrying about any “plumbing”. Our new Domain Data Source components ensure seamless integration between Telerik data source controls and WCF RIA Services. Now all the powerful data-shaping features of Telerik RadControls can directly translate to your domain service – filtering and sorting operations, for example, are performed directly on the server with minimum development effort. Our Domain Data Services support includes both a component that you can embed in your Silverlight page and a CollectionView Implementation that you can use in your view models for a truly MVVM-enabled scenario.
To explore the new RadDomainDataSource control in greater depth, please check its online examples and take a look at the following blog posts:
I have attached a sample project that uses our latest binaries. There is button that does garbage collect. I clicked on the pager many times, and sorted and filtered and so on, but after I click the garbage collection button the memory falls down. I inspected this sample project with WinDbg by doing this:
!dumpheap -type Telerik -stat
and after the garbage collect button is clicked, the Telerik objects seem to remain at a constant count, i.e. they do not keep on growing.
Let us know if you manage to find a memory leak in this sample project. We will debug it immediately.
the Telerik team
Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward!
We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>