Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Jul 2003 21:44:44 +0200
From:      Matthias Buelow <mkb@mukappabeta.de>
To:        freebsd-stable@freebsd.org
Subject:   Re: malloc does not return null when out of memory
Message-ID:  <3F20372C.5040606@mukappabeta.de>
In-Reply-To: <200307241734.KAA04726@mina.soco.agilent.com>
References:  <200307241734.KAA04726@mina.soco.agilent.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Darryl Okahata wrote:

>      You know, we could probably eliminate many of these periodic "why
> doesn't malloc() return NULL?" threads by simply enhancing the malloc(3)
> man page and adding a FAQ entry.

Or better yet, fix the VM and disable the dreadful overcommit, or at 
least provide a knob for the user for disabling it.

-- 
   Matthias Buelow;  mkb@{mukappabeta.de,informatik.uni-wuerzburg.de}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3F20372C.5040606>