[Mono-dev] Memory Leak with mono

techi eth techieth at gmail.com
Thu Aug 11 08:49:49 UTC 2016


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.dot.net/pipermail/mono-devel-list/attachments/20160811/ec972e1b/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: HeapShot_MemoryLeak.png
Type: image/png
Size: 113812 bytes
Desc: not available
URL: <http://lists.dot.net/pipermail/mono-devel-list/attachments/20160811/ec972e1b/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Interop.cs
Type: application/octet-stream
Size: 246 bytes
Desc: not available
URL: <http://lists.dot.net/pipermail/mono-devel-list/attachments/20160811/ec972e1b/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Program.cs
Type: application/octet-stream
Size: 317 bytes
Desc: not available
URL: <http://lists.dot.net/pipermail/mono-devel-list/attachments/20160811/ec972e1b/attachment-0003.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.c
Type: text/x-csrc
Size: 174 bytes
Desc: not available
URL: <http://lists.dot.net/pipermail/mono-devel-list/attachments/20160811/ec972e1b/attachment-0001.c>


More information about the Mono-devel-list mailing list