malloc does not return null when out of memory
Barney Wolff
barney at databus.com
Thu Jul 24 11:13:28 PDT 2003
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.
More information about the freebsd-stable
mailing list