Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Jul 2003 14:13:26 -0400
From:      Barney Wolff <barney@databus.com>
To:        freebsd-stable@freebsd.org
Subject:   Re: malloc does not return null when out of memory
Message-ID:  <20030724181326.GA41709@pit.databus.com>
In-Reply-To: <20030724180106.GA86680@vmunix.com>
References:  <20030723221336.GA26555@pit.databus.com> <200307232222.PAA26360@mina.soco.agilent.com> <20030724180106.GA86680@vmunix.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jul 24, 2003 at 02:01:06PM -0400, Gabor wrote:
> ...
> Here is another test.  This box has swap and I get a null pointer even
> though ulimit -a says memory unlimited.
> ...
> 5242 0x2801d000
> 5243 0x0
> No more mem
> # ulimit -a
> data(kbytes)         524288   <<<<<<<<<<<<<<<<<<<<<<<

-- 
Barney Wolff         http://www.databus.com/bwresume.pdf
I'm available by contract or FT, in the NYC metro area or via the 'Net.



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