source code bean

13 May, 2009

An update on the mono memory issue

Posted by: Peter In: ASP.NET| Linux| Mono

The workaround I tested a few weeks ago did not really solve my problem – actually it made it worse. The autorestart caused mono to hang and not restart at all, so my site stopped responding every 6th hour. I quickly had to disable this. Still I had the memory consumption problems. From various sources I was told that the memory issues would be fixed in the recently released mono 2.4. Also I found a bug report regarding AutoRestart, which also should have been fixed in 2.4. So I decided to give Mono 2.4 a try.
The problem was that there were no packages for Ubuntu 8.10, so I had to download the sources and build my own deb packages. I found this great blog post that describes the process of building and installing Mono 2.4.

So far it seems to be working, but it is too early to say if the memory consumption issues are resolved.

2 Responses to "An update on the mono memory issue"

1 | Arthur

January 10th, 2010 at 6:46 pm

Avatar

Hello, is this problem resolved?
Thanks

2 | Peter

February 14th, 2010 at 11:13 pm

Avatar

Arthur, unfortunately not yet. I was hoping that this would be adressed in Mono 2.6.x, but when I last tested it, the issue was still there. We are now handeling file uploads differently, to avoid the problem.

Comment Form

Categories

Adwords

Twitter Updates


    • Martin: maybe yesterday really webservice used one of customers. MonoMaxMemory 500000000 maybe work, but its combination of problems with webservices. we
    • Peter: I am note quite sure how to set if for all vhosts, or how well MonoMaxMemory works at all. This is from the documentation: "MonoMaxMemory. If MonoR
    • Martin: no today webservice called... and i dont reise maxmemory but limit it to 500MB How can i limit memory SUM of all solutions to 500MB?

    About

    Welcome to source code bean! You will find information on tips and tricks on programming languages, server side stuff, and anything that causes troubles to web development.