[Mono-dev] AppDomain leak?

john.ocallaghan at accenture.com john.ocallaghan at accenture.com
Tue Apr 11 13:20:35 UTC 2017



Hi All

I am using Mono version 4.8.0.524 and have noticed a memory leak each time I create/unload an AppDomain. I have managed to localise the leak down to running the code from this bug report:
https://bugzilla.xamarin.com/show_bug.cgi?id=30849

Basically run AppDomain Create/Unload in a tight loop with garbage collection.

Looking at the heap usage I can see it grow by about 1MB on each Create/Unload. Eventually it will oom.

Note: I am running mono in a docker container and am using the cAdvisor docker to watch the heap usage on my mono container. I don’t think that should have an effect but thought it was worth mentioning.

I have tried using both sgen and boehms GC but am seeing the same behaviour with both.

Has anyone else seen this?
Many thanks!
John



Accenture Global Solutions Limited, 3 Grand Canal Plaza, Grand Canal Street Upper, Dublin 4
This e-mail and any files transmitted with it are confidential and are intended solely for the use of the individual or entity to which they are addressed. If you have received this e-mail in error, please notify the sender immediately and delete the original. Communications with Accenture or any of its group companies (“Accenture”), including telephone calls and e-mails, may be monitored by our systems for quality control and/or evidential purposes. Accenture does not accept service by e-mail of court proceedings, other processes or formal notices of any kind. Private company limited by shares registered in Ireland, Number 554978

________________________________

This message is for the designated recipient only and may contain privileged, proprietary, or otherwise confidential information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the e-mail by you is prohibited. Where allowed by local law, electronic communications with Accenture and its affiliates, including e-mail and instant messaging (including content), may be scanned by our systems for the purposes of information security and assessment of internal compliance with Accenture policy.
______________________________________________________________________________________

www.accenture.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.dot.net/pipermail/mono-devel-list/attachments/20170411/89103a42/attachment.html>


More information about the Mono-devel-list mailing list