[R] Memory Allocation
ripley at stats.ox.ac.uk
Fri Mar 22 18:48:31 CET 2002
On Fri, 22 Mar 2002, Shawn Way wrote:
> I'm trying to run a small batch program under the windows version of R
> 1.5.0. One thing I'm noticing is that if I source the program under Rgui.
R 1.5.0 is not released. What is this? Where did you get it from, or
did you compile it yourself from R-devel?
> The application will work just fine, but if I use Rcmd BATCH --no-save
> -max-mem-size=500M water.R as the batch process, it will not finish. (Or
> even load the first file)
Is that really the same version of R? That was a known problem in R 1.4.0,
solved in 1.4.1.
> The programs load 4 CSV files at ~ 8 MB each, they are merged into two
> data.frames and the original data is purged.
> The error I get from the output file is:
> >PFWA <-
> Error: cannot allocate vector of size 235 Kb
> In addition: Warning message:
> Reached total allocation of 500Mb: see help(memory.size)
> Execution halted
In general, don't increase --max-mem-size (it's --) unless you are
really sure you have enough usable RAM.
Brian D. Ripley, ripley at 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-help 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-help-request at stat.math.ethz.ch
More information about the R-help