[R] vsize and nsize
Prof Brian D Ripley
ripley at stats.ox.ac.uk
Tue May 18 19:24:13 CEST 1999
On Tue, 18 May 1999, Tony Long wrote:
> So now I am confused. I have two vectors: var and pow. var has a
> dozen or so "levels". (I can not apply factor to var either) Here is a
> sample of my R session:
> Error: heap memory (1953 Kb) exhausted [needed 737 more]....
> var2 <- var[1:100]
> pow2 <- pow[1:100]
> 0 0.06
> As I stated in previous messages the version of R I have ( 0.63.2 ) could
> not increase heap memory, Brian Ripley suggested I upgrade to a newer
> version (0.64.1, which I haven't done yet) -- so I can not tell you if this
> solves the problem or not...
0.63.2 _can_ increase heap memory: you reported problems with cells not
heap, as in (your posting of Sat May 15)
That is if I envoke R with
R --vsize 100 --nsize 5000000
Ncells 92202 200000
Vcells 12928414 13107200
the problem being that the value you were trying for nsize is over the
limit, 1000000 on 0.63.2 on Unix, and this was ignored (and you should
have got a warning, as the code issues one). You got the 100Mb of
heap your requested. However, 0.64.1 will allow this value of nsize.
For routine use a R --vsize 10 --nsize 300000 would be suitable for that
version on a machine with 64Mb 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