[Mono-list] exit on out of memory exception
bmurphy1976 at gmail.com
Thu Dec 31 15:42:37 EST 2009
I wish it were that simple. I've already scanned the code base to try and
find all the places where we are handling exceptions, but it's a very large
code base with 3+ years of legacy code in it. I cannot guarantee that I've
found every place where we might be swallowing that exception and have
modified it to handle it appropriately, and was hoping there was an easier
way to just cut my losses and restart the application.
When an out of memory exception gets thrown, our whole process is hosed.
I've been trying to get some profiling information to fix the issue, but it
happens only in production, rarely, and usually when nobody is looking so I
haven't made much headway on that yet.
On Thu, Dec 31, 2009 at 12:58 PM, Lluis <lmartinez at sct.ictnet.es> wrote:
> On Jueves, 31 de Diciembre de 2009 18:30:22 Bryan Murphy escribió:
> > Is there a way I can force a mono process to exit immediately when it
> > out of memory instead of throwing an OutOfMemoryException?
> > Thanks,
> > Bryan
> catch( OutOfMemoryException e)
> your code
> Mono-list maillist - Mono-list at lists.ximian.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-list