Return to BSD News archive
Newsgroups: comp.unix.bsd.freebsd.misc,comp.lang.c,comp.sys.sun.apps
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.mel.connect.com.au!news.mel.aone.net.au!grumpy.fl.net.au!news.webspan.net!news.intersurf.net!www.nntp.primenet.com!nntp.primenet.com!news.mathworks.com!news.maxwell.syr.edu!news.sprintlink.net!news-pen-16.sprintlink.net!news.sprintlink.net!news-pull.sprintlink.net!news.sprintlink.net!news-chi-13.sprintlink.net!rockyd!not-for-mail
From: Dan Ts'o <dan@dnn.rockefeller.edu>
Subject: Re: Alternative malloc ?
X-Nntp-Posting-Host: dnn.rockefeller.edu
Content-Type: text/plain; charset=US-ASCII
Message-ID: <E434Jz.7np@rockyd.rockefeller.edu>
Lines: 18
Sender: notes@rockyd.rockefeller.edu (News Administrator)
Content-Transfer-Encoding: 8bit
Organization: Rockefeller University
X-Newsreader: TIN [UNIX 1.3 unoff BETA release 960930]
References: <5bjh02$j64@chronicle.concentric.net>
Mime-Version: 1.0
Date: Thu, 16 Jan 1997 04:59:59 GMT
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:34106 comp.lang.c:185601 comp.sys.sun.apps:14727
In comp.unix.bsd.freebsd.misc Daniel Ts'o <dantso@cris.com> wrote:
: I am running a big program on FreeBSD 2.1. It is 66Mb and wants to
: grow a bit and malloc is failing. I presume that it is because, as I recall,
: the behavior of the BSD default malloc is to allocate in powers of two and
: the next step would be 130Mb, which is bigger than free swap at the moment.
Nevermind. I forgot about limit(1) somehow...
Now... is there an easy way to set a user's datasize limit beyond
65Mb, without recompiling the kernel ? Or writing a setuid program to do
that ?
Thanks.
Cheers,
Dan Ts'o 212-327-7671
Dept. of Neurobiology FAX: 212-327-7671
The Rockefeller University
1230 York Ave. Box 138 dantso@cris.com
New York, NY 10021 dan@dna.rockefeller.edu