[R] nlme and memory
Prof Brian Ripley
ripley at stats.ox.ac.uk
Thu May 31 13:38:46 CEST 2001
On Thu, 31 May 2001, Bill Simpson wrote:
> I am trying to follow an example in Pineiro & Bates's book
> Error: Calloc could not allocate (151974496 of 8) memory
> This is not a large problem-- only 412 observations. I am using R-1.2.3
> with automatic memory allocation. Does this message mean that I need to
> run this example on a machine with 151 MB of physical RAM available (even
> with X, R, etc loaded)? Or maybe I can increase my swap space? Or maybe
> this error message is wrong somehow?? This seems like a large memory
> requirement for this problem.
Runs fine on both Solaris and Linux here, with no noticeable memory
Do you have the current nlme, built for that version of R? When I've
seen things like that, it has been due to version mis-matches.
Incidentally, the message means 8*151Mb, so I suspect your VM was
really not large enough, and memory allocated by Calloc is not
(and never has been) part of the `automatic memory allocation', i.e.
the cons cells and vector heap.
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