--nsize and --vsize

Prof Brian D Ripley ripley@stats.ox.ac.uk
Tue, 13 Apr 1999 06:06:51 +0100 (BST)


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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._