if you take that view, then you can't use paging because the kernel might kill your process off on overcommit.
i'm not sure i understand how malloc failure can be a common enough event that it needs to be handled. i have never seen malloc failure on a production system where recovery was possible; i have seen some memory corruption that led to malloc failure, but there's no recovering from that. what is the senerio you're thinking of where malloc could fail and you can recover? - erik On Fri Jun 9 18:23:09 CDT 2006, [EMAIL PROTECTED] wrote: > There are cases when you want to leave the output of the program in > consistent state before you die (and you don't need extra memory to > achieve that consistency). Or even if the program cannot continue its > work, it would rather lurk around and wait for somebody to rescue it > instead of just dying. And in cases like that you just cannot use > libraries that call sysfatal. > > Thanks, > Lucho
