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 anything.
2014-10-24 17:03 GMT+02:00 Rodrigo Kumpera <kump...@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 <sakirs...@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 >> Sahin >> >> >> >> _______________________________________________ >> Mono-devel-list mailing list >> Mono-devel-list@lists.ximian.com >> http://lists.ximian.com/mailman/listinfo/mono-devel-list >> >> >
_______________________________________________ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list