[Mono-list] Finding leaks from root pinned objects

Rodrigo Kumpera kumpera at gmail.com
Fri Jul 13 19:32:51 UTC 2012


Misc Roots include internal runtime structures and gc handles.

You can run the profiler manually on console and ask for both, but I
believe you would not be able to see both at the same time on the UI.


On Thu, Jul 12, 2012 at 11:07 PM, Primitive <jurney at gmail.com> wrote:

> I've got a leak in my mono app, and I'm having trouble tracking it down.
>  I'm
> hoping I'm just missing something in heapshot that will show me the data I
> need.  I can see from the summary that I'm leaking pinned references from
> "Misc Root" to System.Byte[] using heapshot.  I can also see a log of all
> my
> System.Byte[] allocations using the logging profiler to track allocations
> and callstacks.  What I can't see is which specific allocations are pinned
> and referenced by root.  Almost all the root referenced Byte[]s are leaks,
> so being able to see a list of the callstacks that generated them would
> show
> me the problem.  Is there a way to get a combination of these two features
> to see what I need?
>
> Thanks for any help.
>
> --
> View this message in context:
> http://mono.1490590.n4.nabble.com/Finding-leaks-from-root-pinned-objects-tp4650390.html
> Sent from the Mono - General mailing list archive at Nabble.com.
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-list/attachments/20120713/fcc96d84/attachment.html>


More information about the Mono-list mailing list