[Mono-dev] Leaky JIT while running MonoDevelop

Rodrigo Kumpera kumpera at gmail.com
Mon Aug 18 22:44:18 EDT 2008


Hi Casey,



On Fri, Aug 15, 2008 at 8:22 PM, Casey Marshall
<casey.s.marshall at gmail.com>wrote:
>
> I've disabled my Perforce code, and am running it again to make sure, but
> it does still look like it's leaking.
>
> Is this comment, from mono/metadata/loader.c, in mono_free_method, related?
>
>         if (method->signature) {
>>                /*                 * FIXME: This causes crashes because the
>> types inside signatures and
>>                 * locals are shared.
>>                 */
>>                /* mono_metadata_free_method_signature (method->signature);
>> */
>>                /* g_free (method->signature); */
>>        }
>>
>>
>
> Thanks.
>


This should cause a memleak leak only when the image is unloaded. Other than
that, your trace is quite odd.
I fixed a memleak in the JIT, mind redoing your test?


Thanks,
Rodrigo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20080818/2edaa39d/attachment.html 


More information about the Mono-devel-list mailing list