From ripley@stats.ox.ac.uk  Tue Apr 13 06:06:51 1999
From: ripley@stats.ox.ac.uk (Prof Brian D Ripley)
Date: Tue, 13 Apr 1999 06:06:51 +0100 (BST)
Subject: --nsize and --vsize
In-Reply-To: <Pine.HPP.3.96.990412233602.25145B-100000@tiger.statslab.cam.ac.uk>
Message-ID: <Pine.GSO.4.05.9904130604390.17276-100000@auk.stats>

On Mon, 12 Apr 1999, Nicholas Lee wrote:

> 
> On 12 Apr 1999, Douglas Bates wrote:
> 
> > I would agree that:
> >  - it is reasonable to increase the default vsize and nsize
> >  - the default sizes should probably be architecture dependent
> >  - If possible, the default sizes should also be picked up from
> >    ${HOME}/.Renviron.  For example, look for R_VSIZE and R_NSIZE
> >    environment variables and use them
> > 
> > I think that 16M for vsize and 800k for nsize could be good global
> > defaults on many architectures.
> 
> If the environment variables where used (best solution), wouldn't it be
> better to tell people in the memory exhaustion at startup warning message
> that this option existed.  Rather than defaulting to a potentially
> wasteful use of memory. 

Well, the flags exist now.  The `potentially wasteful' part is running out
of memory after a lot of work.  My comment is that at present the workspace
is less than half the total memory used: If you are going to use 10Mb
by default, why not use 15?


-- 
Brian D. Ripley,                  ripley@stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


--nsize and --vsize
Prof Brian D Ripley