Hi,
Is there a way to be notified that a CLR application ran out of memory. My application is memory intensive and uses a lot of libraries. Unfortunately, some of these libraries swallow exceptions ( try{...} catch(){} ) and the application cannot deal appropriately with this situation.
I would love to have an event on the GC class telling me that an OOM exception was raised (even if swallowed by some piece of code).
GC.OutOfMemory += () => System.Environment.FailFast("OOM!");
SCD