Quote Originally Posted by Ramil View Post
Offtopic mode
Some questions:
1) As a programmer, do YOU always include exception handlers for the 'out of memory' error? Do you make them so sophisticated that they even try to terminate other processes? Do you handle 'access denied' errors within your 'out of memory' exception handler when it tries to terminate something? And how terminating other processes will help you in getting more virtual address space for your particular application?
2) Ever heard of interlocked (cross-referenced) resources with no accessible valid handlers?
1. Speaking about me, I don't ALWAYS do that. But technically it's absolutely real, and not as difficult and sophisticated as you may think. "Access denied" can be handled locally, without an exception handler for that; in addition, ever heard of such things as OS kernel, drivers, R0? If so, you must not have any questions on the further.

2. Specify the kind of resources.