From N.J.Lee@statslab.cam.ac.uk  Tue Apr 13 11:39:00 1999
From: N.J.Lee@statslab.cam.ac.uk (Nicholas Lee)
Date: Tue, 13 Apr 1999 11:39:00 +0100 (BST)
Subject: --nsize and --vsize
In-Reply-To: <Pine.GSO.4.05.9904130604390.17276-100000@auk.stats>
Message-ID: <Pine.HPP.3.96.990413112824.25549A-100000@tiger.statslab.cam.ac.uk>


On Tue, 13 Apr 1999, Prof Brian D Ripley wrote:

> Well, the flags exist now.  The `potentially wasteful' part is running out

The flags exist, but in the adage of the lazy programmer, "less
keystrokes, means less RSI/bugs."   One nice option would be for R to probe
the size of the .RData file, and rather than dieing on you if it's too
large, giving you option of loading it with XX extra memory.

> 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?

This is always going to be the case since R uses a static memory heap.
So the question arises; if the default is 15, why not 20...? 


The best solution would be for system wide config flags or ENVIRONMENT
variables, as this would allow people to set a memory usage policy given
the amount of library functions they have, general memory usage patterns,
and personal inclinations. 


Nicholas 

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
Nicholas Lee