Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Feb 2001 01:23:09 +0000
From:      Tony Finch <dot@dotat.at>
To:        Dag-Erling Smorgrav <des@ofug.org>
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: Setting memory allocators for library functions.
Message-ID:  <20010227012309.G609@hand.dotat.at>
In-Reply-To: <xzpu25km6mm.fsf@flood.ping.uio.no>
References:  <200102230627.f1N6Rk618467@guild.plethora.net> <xzpu25km6mm.fsf@flood.ping.uio.no>

next in thread | previous in thread | raw e-mail | index | archive | help
Dag-Erling Smorgrav <des@ofug.org> wrote:
>
>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.

What about setrlimit(RLIMIMT_DATA)?

Tony.
-- 
f.a.n.finch    fanf@covalent.net    dot@dotat.at


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




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