Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Apr 1999 14:55:27 -0500 (CDT)
From:      Anthony Kimball <alk@pobox.com>
To:        dcs@newsguy.com
Cc:        current@freebsd.org
Subject:   Re: swap-related problems
Message-ID:  <14100.61923.427423.153188@avalon.east>

next in thread | raw e-mail | index | archive | help

: > All I want is that a program gets NULL from malloc if there is no memory
: > available. I find that to be a very fundamental thing about malloc.

: Do you have a solution? We don't.

Make an sbrk variant which will pre-allocate backing store.
setenv MALLOC_PREALLOCATE

Not so hard.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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