[Mono-dev] Memleak in mono_domain_unload
sakirsoft at gmail.com
Tue Oct 28 10:03:29 UTC 2014
I located the bug in my code for the memleak in mono_domain_unload. In my
application I am loading an assembly and all of its references
via mono_image_open_from_data and mono_assembly_load_from_full. In this
process I also load mscorelib into the domain. And this causes the memleak.
When I skip to load mscorelib everything works fine and mono does not leak
2014-10-24 17:03 GMT+02:00 Rodrigo Kumpera <kumpera at gmail.com>:
> Please file a bug report with your test case so we can fix any leaks.
> On Fri, Oct 24, 2014 at 7:56 AM, Vardar Sahin <sakirsoft at gmail.com> wrote:
>> Hello to all,
>> I noticed that mono_domain_unload is leaking memory. I wrote a small test
>> in my application
>> where I create a domain, load an assembly into it, execute the C# main
>> which does nothing and then call mono_domain_unload. The assembly and all
>> its references are loaded with mono_image_open_from_data. It seems like
>> Unity somehow solved this problem.
>> Is there any work to fix this? Or any hint for me?
>> Best regards
>> Mono-devel-list mailing list
>> Mono-devel-list at lists.ximian.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-devel-list