Is "Out of Memory" a recoverable error?

bearophile bearophileHUGS at
Tue Dec 2 04:54:05 PST 2008

In a program "Out of Memory" is recoverable, for example your program can use several caches, buffers, and it can use data already present on disk too, or data that can be moved on disk now.
A good program when finds an out of memory situation can clear its caches, delete not essential data structures, and save some data on disk, to free some RAM. (All this can be useful in operating systems with virtual memory too).


More information about the Digitalmars-d mailing list