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

RadTileView memory not getting disposed of when loading multiple collections in a row?

1 Answer 54 Views
TileView
This is a migrated thread and some comments may be shown as answers.
Jonathon
Top achievements
Rank 1
Jonathon asked on 18 Oct 2011, 12:46 AM
Hi,

I'm using RadTileView, and I have a drop down combobox where people can choose from multiple collections to bind from for radtileview. The problem is when someone chooses a collection to bind to, then chooses a different collection to bind to from the drop down combobox, the memory from the first collection does not seem to get disposed of. For example, if I load one collection in RadTileView, it will use lets say 100MB. Then if a load a smaller collection from the combobox, the memory usage goes up to 150MB. Then if I load another one, the memory usage goes up to 250MB. The data in the observable collection is just in class with properties that are just text. Is there a way to dispose of the memory? VMMap says almost all is in my native heap.

Thanks,

Jonathon

1 Answer, 1 is accepted

Sort by
0
Zarko
Telerik team
answered on 20 Oct 2011, 06:14 PM
Hi Jonathon,
Could you please tell us what controls do you have in your RadTileViewItems and how are you using them? We tried your scenario with ANTS memory profiler and everything looked fine - the RadTileView was clearing all of its old items when you change its ItemsSource and the memory was freed.
Also I'd like to mention that the CarbageCollector in Silverlight needs some time to clear the unused memory and Silverlight itself keeps some resources even if they are not needed at the moment.
If you have more questions please feel free to ask.

Kind regards,
Zarko
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
TileView
Asked by
Jonathon
Top achievements
Rank 1
Answers by
Zarko
Telerik team
Share this question
or