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


  • Joe: It looks like IceCoffee Script may provide the 'await' keyword to JavaScript. http://maxtaco.github.com/coffee-script/
  • Florian: Dealing with events has two primary fashions: imperative (synchronous) code, and callback (asynchronous) code. Both are legitimate styles, for some
  • Joe: I think we haven't seen true PaaS offering yet in Azure. If you use a webrole you're still running on your own VM. This is still not true multi-tena

About

Welcome to source code bean! On this site I post stuff that I encounter in my job and spare time. The content is mostly related to .NET development, but my interest in techonology is very broad, so often you will find posts on totally different subjects!