[Mono-list] Mono 3.2.0 Asp.NET MVC Memory Leak

"Andrés G. Aragoneses" knocte at gmail.com
Thu Aug 1 08:29:03 UTC 2013

On 31/07/13 22:13, James Wright wrote:
>     I've recently upgraded our web server from Mono 2.10.8 to Mono 3.2.0
> (built from source tarball), but I'm noticing a huge difference in
> memory usage. The old version would startup our ASP.NET MVC 2 website
> using ~100MB and over approximately two weeks grow to use around
> 500-600MB. However, the latest version starts up using ~100MB but has
> grown to use over 1GB+ in just two days under exactly the same load. I
> might try switching to using the Boehm garbage collector to see if that
> is any better.
>    Any advice on how to go about diagnosing where this leak is occurring
> would be greatly appreciated!
>    Our stack is as follows; Amazon Linux x86-64, Apache 2.2, Mono 3.2.0,
> mod_mono 2.10

And what version of xsp[1]?

There have been some memory leak fixes[2] in master which are not in 
3.2, so you might want to test with building your own mono.

[1] https://github.com/mono/xsp/tree/master/src/Mono.WebServer.Apache

More information about the Mono-list mailing list