Why kernel kills processes that run out of memory instead of just failing memory allocation system calls?

Yuri yuri at rawbw.com
Thu May 21 06:32:51 UTC 2009

Seems like failing system calls (mmap and sbrk) that allocate memory is more
graceful and would allow the program to at least issue the reasonable 
error message.
And more intelligent programs would be able to reduce used memory 
instead of just dying.


More information about the freebsd-hackers mailing list