[Mono-list] Finding leaks from root pinned objects
kumpera at gmail.com
Mon Jul 16 12:57:41 UTC 2012
If you have a pinned gc handle, the best way is to inspect your code since
the runtime only use them
for an internal version of System.Threading.Thread.
On Fri, Jul 13, 2012 at 5:26 PM, Chris Jurney <jurney at gmail.com> wrote:
> Thanks... I'm pretty sure it's a pinned gc handle. I guess my next step
> is to either modify the heapshot UI to let me see the data I need, or try
> to find a way to run time inspect the heap to get some data on these
> allocations. Any mono pro tips on ways to get at these allocations would
> be appreciated.
> On Fri, Jul 13, 2012 at 12:32 PM, Rodrigo Kumpera <kumpera at gmail.com>wrote:
>> 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.
>>> hoping I'm just missing something in heapshot that will show me the data
>>> 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
>>> and referenced by root. Almost all the root referenced Bytes are
>>> so being able to see a list of the callstacks that generated them would
>>> me the problem. Is there a way to get a combination of these two
>>> to see what I need?
>>> Thanks for any help.
>>> View this message in context:
>>> Sent from the Mono - General mailing list archive at Nabble.com.
>>> Mono-list maillist - Mono-list at lists.ximian.com
> Mono-list maillist - Mono-list at lists.ximian.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-list