Memory leak with RadTreeView

3 posts, 1 answers
  1. James
    James avatar
    2 posts
    Member since:
    Oct 2010

    Posted 06 Jan 2011 Link to this post

    Hi,

    When I changed my RadTreeView to multiselect mode I found that unless I cleared the selection before removing nodes from the tree it held onto references to the classes it was bound to. I used WinDbg to look at the memory, below is the end of the !gcroot showing the path to a class that should be ready for garbage collection. I think the suspicious line is "059d7dd0(Telerik.Windows.Controls.SelectionChanger`1[[System.Object, mscorlib]])->".

    Are you aware of any such issues with the RadTreeView in the Q3 2010 release?

    Any info appreciated,

    Cheers,

    James Clarke

      05ac4ba4(Ericsson.nCompassControl.Silverlight.VpcInterface.Views.ParamPage)->
      05a1a7c8(System.Windows.Controls.Grid)->
      05a50214(Ericsson.nCompassControl.Silverlight.VpcInterface.Views.MainPage)->
      059d522c(Telerik.Windows.Controls.RadTreeView)->
      059d7dd0(Telerik.Windows.Controls.SelectionChanger`1[[System.Object, mscorlib]])->
      059cdefc(System.Collections.Generic.List`1[[System.Object, mscorlib]])->
      0c2db760(System.Object[])->
      0c2acbc8(Ericsson.nCompassControl.Silverlight.VpcInterface.ViewModels.TreeNode)->
      0c2abe58(Ericsson.nCompassControl.Silverlight.VpcInterface.ViewModels.TreeNode)->
      0c2abf30(Ericsson.nCompassControl.Silverlight.VpcInterface.Models.Ice4CeCardResourceModel)->
      0c2abf58(System.Collections.Generic.Dictionary`2[[Ericsson.nCompassControl.Silverlight.VpcInterface.Models.Resource, VpcUserInterface],[Ericsson.nCompassControl.Silverlight.VpcInterface.Models.DataNode, VpcUserInterface]])->
      0c2ac05c(System.Collections.Generic.Dictionary`2+Entry[[Ericsson.nCompassControl.Silverlight.VpcInterface.Models.Resource, VpcUserInterface],[Ericsson.nCompassControl.Silverlight.VpcInterface.Models.DataNode, VpcUserInterface]][])->
      0c1884c4(Ericsson.nCompassControl.Silverlight.VpcInterface.Models.DataNode)->
      068d24c4(Ericsson.nCompassControl.Silverlight.VpcInterface.Models.XmlDataModel)
  2. Answer
    Hristo
    Admin
    Hristo avatar
    352 posts

    Posted 11 Jan 2011 Link to this post

    Hello James,

    We are aware that in some cases the selected items collection is not updated. However I couldn't find that issue in the public issue tracking system so I logged it. You can vote for the fix and track its status via this link: http://www.telerik.com/support/pits.aspx#/public/silverlight/4586 .

    Also, I updated your Telerik points (+1000).

    Regards,
    Hristo
    the Telerik team
    Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
  3. DevCraft banner
  4. James
    James avatar
    2 posts
    Member since:
    Oct 2010

    Posted 11 Jan 2011 Link to this post

    OK thanks, I will go and vote for that...
Back to Top