malloc does not return null when out of memory

Matthias Buelow mkb at mukappabeta.de
Thu Jul 24 12:43:03 PDT 2003


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}



More information about the freebsd-stable mailing list