Date: Wed, 14 Apr 1999 21:34:59 -0500 (CDT) From: Anthony Kimball <alk@pobox.com> To: green@unixhelp.org Cc: current@FreeBSD.ORG Subject: Re: swap-related problems Message-ID: <14101.20360.243064.404053@avalon.east> References: <14100.62842.127882.239452@avalon.east> <Pine.BSF.4.10.9904142124190.83269-100000@janus.syracuse.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Quoth Brian Feldman on Wed, 14 April: : : ACTUALLY it would still break ANSI because the malloc itself would crash : the program, instead of touching the memory manually. The point here is that malloc can return null when it fails to allocate. I might mention that Andrew Reilly's suggestion is the winner so far, in my mind. The solution of having libc:malloc honor a 'setenv MALLOC_MMAP_STORE /path/here' would work with shrink-wrap software, and completely bypass the concerns, real and imagined, of even the most zealous advocate of overcommit purity. 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?14101.20360.243064.404053>