[R] increase memory limit in R
Prof Brian Ripley
ripley at stats.ox.ac.uk
Thu Oct 16 19:12:37 CEST 2008
AFAICS, you have a 2GB address space: please do read the rw-FAQ and fix
that, in which case R will automatically make use of the increased space.
Hint: what is /3GB for?
On Thu, 16 Oct 2008, liujb wrote:
> Dear R users,
> I am running lmer() and having memory problem: "reached total allocation of
> The lmer() function was successful (no errors or warnings). However when I
> do "summary(fit.lmer), I got this "Error: cannot allocate vector of size
> 19.5 Mb). I used memory.size() and got 1880. I used memory.limit(2500) to
> increase the memory size to 2500Mb, however I still get the warning messages
> as above. I entered memory.limit() to check whether the size has been
> increased or not, and R returns 2500.
> I am running the program on Windows XP Professional, CPU 2.00GHz and 3.3 GB
> of RAM.
> I appreciate your advices. Thank you.
> View this message in context: http://www.nabble.com/increase-memory-limit-in-R-tp20015931p20015931.html
> Sent from the R help mailing list archive at Nabble.com.
> R-help at r-project.org mailing list
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
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 272866 (PA)
Oxford OX1 3TG, UK Fax: +44 1865 272595
More information about the R-help