From owner-freebsd-current Wed Apr 14 12:59:31 1999 Delivered-To: freebsd-current@freebsd.org Received: from poboxer.pobox.com (unknown [208.149.16.25]) by hub.freebsd.org (Postfix) with ESMTP id AA8F614EA9 for ; Wed, 14 Apr 1999 12:59:25 -0700 (PDT) (envelope-from alk@poboxer.pobox.com) Received: (from alk@localhost) by poboxer.pobox.com (8.9.3/8.9.1) id OAA25121; Wed, 14 Apr 1999 14:55:30 -0500 (CDT) (envelope-from alk) From: Anthony Kimball MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Wed, 14 Apr 1999 14:55:27 -0500 (CDT) X-Face: \h9Jg:Cuivl4S*UP-)gO.6O=T]]@ncM*tn4zG);)lk#4|lqEx=*talx?.Gk,dMQU2)ptPC17cpBzm(l'M|H8BUF1&]dDCxZ.c~Wy6-j,^V1E(NtX$FpkkdnJixsJHE95JlhO 5\M3jh'YiO7KPCn0~W`Ro44_TB@&JuuqRqgPL'0/{):7rU-%.*@/>q?1&Ed Reply-To: alk@pobox.com To: dcs@newsguy.com Cc: current@freebsd.org Subject: Re: swap-related problems X-Mailer: VM 6.43 under 20.4 "Emerald" XEmacs Lucid Message-ID: <14100.61923.427423.153188@avalon.east> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG : > 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