Is "Out of Memory" a recoverable error?

Kagamin spam at here.lot
Tue Dec 2 12:39:03 PST 2008


One can get rid of OOM just by adding a couple of lines to the default malloc, that call custom handler (similar to onOutOfMemoryError handler) wich does any magic wanted, so OOM doesn't break nothrow functions, and if it's thrown, this means that recovery code has failed to recover and application exits. So nothrow protocol remains the same.



More information about the Digitalmars-d mailing list