[Mono-list] exit on out of memory exception

Lluis lmartinez at sct.ictnet.es
Thu Dec 31 13:58:03 EST 2009


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 runs
> out of memory instead of throwing an OutOfMemoryException?
> 
> Thanks,
> Bryan
> 
try
{
}
catch( OutOfMemoryException e)
{
		your code
}
-- 
Saludos

Lluis
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
Url : http://lists.ximian.com/pipermail/mono-list/attachments/20091231/aefe02e9/attachment.bin 


More information about the Mono-list mailing list