[Mono-dev] Garbage Collection Issue?
Maciej Paszta
paszczi at go2.pl
Fri May 14 03:28:56 EDT 2010
On Thu, May 13, 2010 at 7:07 PM, Matt Dargavel <matt at shout-telecoms.com>wrote:
> Hi there,
>
>
>
> We have an application written in Mono that appears to be
> leaking memory. I’ve tried using the profiler and mprof-heap-viewer to
> identify any objects that are being left around, but I couldn’t see anything
> significant. The application doesn’t seem to leak on .NET, so I was
> starting to wonder about the Boehm GC. Will using the heap snapshots show
> any objects that are no longer being referenced, but have not been Garbage
> Collected? Also, is there a way to enable the heap profiler but only for
> heap snapshots using the telnet interface- i.e. without the allocations info
> as these generate huge amounts of data in a soak test. Finally, does anyone
> have any other suggestions on where else I should look / other diagnostics
> to try?
>
>
>
I have experienced similar behavior. When app was running under .NET the
memory was freed, but switching to Mono caused memory to climb up. I did
some investigation but I couldn't find anything wrong with the code - I had
tried all profilers available for mono. The I gave my app a little time and
memory was eventually freed but after a longer period of time - maybe it's
the same situation?
--
Maciej Paszta
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20100514/1bf9cd39/attachment.html
More information about the Mono-devel-list
mailing list