Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 May 2009 23:32:47 -0700
From:      Yuri <yuri@rawbw.com>
To:        freebsd-hackers@freebsd.org
Subject:   Why kernel kills processes that run out of memory instead of just failing memory allocation system calls?
Message-ID:  <4A14F58F.8000801@rawbw.com>

next in thread | raw e-mail | index | archive | help
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.

Yuri




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4A14F58F.8000801>