[EMAIL PROTECTED] (Peter Seebach) writes:
> In message <[EMAIL PROTECTED]>, Farooq Mela writes:
> > How do you guys feel about this?
> It is a mistake to believe that you "don't have to worry about running
> out of memory".  You should always check, every time, and exit as gracefully
> as you can.

This is all academic since FreeBSD does memory overcommit, so unless
you run out of address space for your process before you run out of
actual memory and/or swap (not likely, but quite possible) malloc()
will never return NULL and you won't know a thing until you dirty one
page too many and segfault.

DES
-- 
Dag-Erling Smorgrav - [EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to