[Mono-dev] [Mono-list] Memory leak with mod_mono

Rodrigo Kumpera kumpera at gmail.com
Wed Dec 5 16:33:46 EST 2007


Russel,

You can try running heap-buddy with the env var MONO_NO_SMP=1.

You can try HeapShot from the command line. you send a series of "kill
-PROF" to your process and then use the GUI to perform the analysis. You can
read more in: http://mono-project.com/HeapShot

Rodrigo



On Dec 5, 2007 7:18 PM, Russell <rusvdw at gmail.com> wrote:

> I need to check managed usage, but heap-buddy dies with a segmentation
> fault. I'm using an SMP machine, and I've read that heap-buddy has a problem
> with that. Heap-shot won't work for me either as it requires gtk-sharp2
> which i'm unable to install on my Ubuntu 6.06 server box due to dependency
> failures.
>
> Any other options?
>
>
> On Dec 5, 2007 10:06 PM, Rodrigo Kumpera <kumpera at gmail.com > wrote:
>
> > You can valgrind for unmanaged leak or heap buddy for managed leak.
> >
> > http://www.mono-project.com/Debugging#Using_Valgrind_on_Mono
> > http://www.mono-project.com/HeapBuddy
> >
> > Rodrigo
> >
> >
> > On Dec 5, 2007 4:11 PM, Russell <rusvdw at gmail.com> wrote:
> >
> > > I've ported BlogEngine.NET to mono, and while it runs successfully, it
> > > suffers from a memory leak that ends up killing the mod_mono process after a
> > > couple of hours. The mod_mono process also keeps consuming CPU time while no
> > > pages are being served. The issue doesn't appear with XSP2.
> > >
> > > Is there a way for me to find out what is using up the memory, or even
> > > just determine what threads are running?
> > >
> > > _______________________________________________
> > > Mono-list maillist  -  Mono-list at lists.ximian.com
> > > http://lists.ximian.com/mailman/listinfo/mono-list
> > >
> > >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20071205/5faffb46/attachment.html 


More information about the Mono-devel-list mailing list