[Mono-dev] Garbage Collection Issue?
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?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-devel-list