[R] how to allocate more memory

Prof Brian D Ripley ripley at stats.ox.ac.uk
Sun Feb 17 08:58:10 CET 2002


On Sat, 16 Feb 2002, Simon M Lin MD wrote:

> Hello,
>
> I am new to R. (Neither am I a statistician. )
>
> Experienced a problem when running an application.
> ######################
> > exp.ravglogpm_express(x, method="ravglogpm", normalize=T,
> +         normalize.method= "quantile", span=3/5,
> +         choose.subset=T, subset.size=5000, verbose=T, maxit=2)
> Performing quantile normalization.
> Error: cannot allocate vector of size 12374 Kb
> In addition: Warning message:
> Reached total allocation of 256Mb: see help(memory.size)
> ######################
>
> Any quick fix explained in plain English? I am using a PC with384M RAM and 1.5 GB virtual memory.

But you don't even tell us the operating system on your PC, normally a
characteristic of Windows users.

The amount of RAM pre-allocated to R under Windows can be increased, and
the help page you were referred to and the `R for Windows' FAQ (both of
which you have read?) tell you how.

But your `application' (about which you explain nothing) seems to be
needing excessive amounts of memory, and the best advice is to report that
to its programmer.  Given how little RAM you have, you might want to
increase it to 1Gb or more.

-- 
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 mailing list