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

2 posts, 0 answers
  1. Jonathon
    Jonathon avatar
    50 posts
    Member since:
    Aug 2011

    Posted 17 Oct 2011 Link to this post

    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
  2. Zarko
    Admin
    Zarko avatar
    755 posts

    Posted 20 Oct 2011 Link to this post

    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 >>

  3. DevCraft banner
Back to Top