Out-of-Memory recovery

bearophile bearophileHUGS at lycos.com
Sat Jan 3 07:11:47 PST 2009


I have seen this:
http://dobbscodetalk.com/index.php?option=com_content&task=view&id=966

Walter (from a comment written by someone else):

>A critical program, such as life support machines, flight control  systems, etc., cannot be allowed to fail.<

Such software most probably works with a fixed amount of memory (or at compile time it's known the maximum amount of memory required), so that's not an example where recovering from out-of-bound errors is important.


>The memory manager can have user supplied callbacks to release memory in such cases.<

This is interesting. What's a possible API/semantics for such thing?

Bye,
bearophile



More information about the Digitalmars-d mailing list