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
[2] https://github.com/mono/mono/commit/c931c463c24ef4f257dc6dc4dafdc2ac81b8a9d3 and https://github.com/mono/mono/commit/76e8c8ba0f5dad4c154b9ab6dd969ef2eb0bec79

_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to