Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.mira.net.au!news.netspace.net.au!news.mel.connect.com.au!news.syd.connect.com.au!news.bri.connect.com.au!corolla.OntheNet.com.au!not-for-mail From: Tony Griffiths <tonyg@OntheNet.com.au> Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: process memory limit in kernel Date: Thu, 29 May 1997 12:00:19 +1000 Organization: On the Net (ISP on the Gold Coast, Australia) Lines: 22 Message-ID: <338CE333.1EE1@OntheNet.com.au> References: <5m2q1l$egd@smash.gatech.edu> <5m3tot$ic4@ui-gate.utell.co.uk> <5mf2il$249@smash.gatech.edu> Reply-To: tonyg@OntheNet.com.au NNTP-Posting-Host: swanee.nt.com.au Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 3.0 (WinNT; I) To: Doug Porter <doug@tpac.gcatt.gatech.edu> Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:41796 Doug Porter wrote: > > So what I'm wondering is how large can I set the DFLDSIZ and MAXDSIZ? > > options "MAXMEM=262144" > #options "MAXMEM= > > options "DFLDSIZ=(256*1024*1024)" > options "MAXDSIZ=(256*1024*1024)" I would imagine at least 1GB and possibly even 2GB. There is stuff which lives up at the top just under the 2GB address (0x7fff????) related to process information, stack etc. I believe that this area grows down (ie. from high address towards zero) while the 'normal' process program and data area grows upwards (from zero -> 0x7ffff????). When the two regions meet, your DEAD! Be prepared to allocates _LOTS_ of swap space if you are actually going to use this much data area on a 256MB machine. Tony