Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

2
  • Agreed. Worked on a kiosk app which had numerous memory leaks and the prior dev team's resolution was just to force a reboot. Much of the leaks were easily identified. Yet, after fixing those found via IntelliTrace and JustTrace, some refs still eluded implicit and explicit garbage collection. I read: support.scichart.com/index.php?/News/NewsItem/View/21/… Found that reducing x:Name further improved performance. Commented Aug 20, 2014 at 3:40
  • 3
    It it my understanding this affects both Name and x:Name as both are added to NameScope. If you need a Name on your element, there's no getting around it. You can repro in code on an element with no name via FrameworkElement.RegisterName("elementname"). However, if you call FrameworkElement.UnregisterName("elementname") it can be "dereferenced". Commented Apr 27, 2017 at 12:47