[Mono-dev] Memory Leak with mono

techi eth techieth at gmail.com
Mon Aug 15 04:34:24 UTC 2016


Thanks for trying & updating result.

I am working with 4.2.2.I have run some test & checking for result.

Is their any tool by which we can check for memory leak ?

On Thu, Aug 11, 2016 at 11:04 PM, Rodrigo Kumpera <kumpera at gmail.com> wrote:

> What version of mono are you running?
>
> Have you ran your test for an extensive period of time that would let the
> GC to check whether there's an actually leak?
>
> I altered your test to run the test program in an infinite loop and
> monitored memory consumption on mono 4.4.1 and noticed no leaks after a few
> minutes of it running.
>
> The fact that heapshot report objects being allocated doesn't mean there's
> a leak, as those could be temporary objects or runtime allocated objects.
>
> You need to run it for long enough time and then collect memory usage.
>
> --
> Rodrigo
>
>
>
>
> On Thu, Aug 11, 2016 at 1:49 AM, techi eth <techieth at gmail.com> wrote:
>
>> I am observing memory leak when I called C function from C#.I am running
>> my test on Linux machine (Ubunut14.04) with mono 4.2.2.
>>
>> When I run heap shot profile I am getting unknown object.
>>
>>
>>
>> Please find attached test file used for testing. I have attached snapshot
>> of heapshot memory snapshot.
>>
>>
>>
>> _______________________________________________
>> Mono-devel-list mailing list
>> Mono-devel-list at lists.dot.net
>> http://lists.dot.net/mailman/listinfo/mono-devel-list
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.dot.net/pipermail/mono-devel-list/attachments/20160815/42d35211/attachment.html>


More information about the Mono-devel-list mailing list