Having trouble analysing leaks with "Show Paths..."

2 posts, 0 answers
  1. Mikhail
    Mikhail avatar
    10 posts
    Member since:
    Nov 2011

    Posted 30 Jan 2014 Link to this post

    Hi,

    The subject pretty much says it all. I'm trying to hunt down known leaks on a C# Windows store app, and I've found the leaked objects easily (JT correctly identifies them as likely leaks). However, when I try to find out whats holding a reference to them with the "Show paths to GC roots" command, all I get is the object itself in blue (GC root - cannot be collected.) It doesn't make much sense for these objects to be GC roots, and I know that the GC-path function is working because for other objects I get an actual reference hierarchy. 

    Thanks for the help!
    mike
  2. Kaloyan
    Admin
    Kaloyan avatar
    872 posts

    Posted 04 Feb 2014 Link to this post

    Hi Mikhail,

    Thank you for contacting us.

    In most of the cases, such roots are being held by the unmanaged parts of your application. And JustTrace is not able to show them as at this stage it profiles only managed code.

    However, to be sure there isn't a bug on our side, I would suggest you to isolate this in a simple repro project and send it over for investigation.

    Regards,
    Kaloyan
    Telerik
    Share what you think about JustTrace & JustMock with us, so we can become even better! You can use the built-in feedback tool inside JustTrace, our forums, or our JustTrace or JustMock portals.
  3. DevCraft banner
Back to Top