I have an application that works with large amounts of data, and I'm thinking that, may be, sometimes the OutOfMemoryException
will be thrown (For half a year, I got no single exception, but I'm just want to know all about it). As I've investigated, after this exception I can't proceed with execution of my program.
Is there any good pattern to handle such exceptions, especially to working with IDisposable classes?