Date: Wed, 23 Jul 2003 15:44:36 -0700 From: Brooks Davis <brooks@one-eyed-alien.net> To: Matthias Buelow <mkb@mukappabeta.de> Cc: Gabor <gabor@vmunix.com> Subject: Re: malloc does not return null when out of memory Message-ID: <20030723224436.GD22166@Odin.AC.HMC.Edu> In-Reply-To: <20030723223654.GA24008@moghedien.mukappabeta.net> References: <20030723173427.GA72876@vmunix.com> <20030723140329.C92624@carver.gumbysoft.com> <20030723221336.GA26555@pit.databus.com> <20030723223654.GA24008@moghedien.mukappabeta.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--AbQceqfdZEv+FvjW Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jul 24, 2003 at 12:36:54AM +0200, Matthias Buelow wrote: > Barney Wolff writes: >=20 > >One might argue that this is a config error, and ulimit should be used > >to cut the address space to below actually available memory. >=20 > Wasn't there a sysctl flag to enable/disable overcommitting? > I think I remember something but I can't find it; it might > not have been on FreeBSD. No there isn't. Overcommit is a fundamental design feature of the BSD VM. If you don't like it, find an OS that doesn't do it. The only one I can think of off the top of my head in Irix where I've found it to be a serious pain in the ass. -- Brooks --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --AbQceqfdZEv+FvjW Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE/Hw+zXY6L6fI4GtQRAsg6AJ95BgSlfEWbFU5wqRIXZn6I8rSIogCeI+b+ DBGWL17RtQYfBrKp9vhw34U= =1YO1 -----END PGP SIGNATURE----- --AbQceqfdZEv+FvjW--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030723224436.GD22166>