[R] memory problems

ripley@stats.ox.ac.uk ripley at stats.ox.ac.uk
Fri Jan 24 14:07:07 CET 2003


On 24 Jan 2003, Ernesto Jardim wrote:

> Hi
> 
> I'm computing a bca interval using bca.ci from the boot package.
> 
> When I try to use this I get an error 
> 
> 
> > library(boot)
> > boot(logglm.data,boot.fishpower,2500,coef.vec=coeflm.vec)->blm8901
> > bca.ci(blm8901,index=29)
> Error: cannot allocate vector of size 456729 Kb
> 
> However my machine has 2GB of memory and without R running I only have
> 112M of memory used.

How much memory is it actually using?  It is complaining about allocating
an *additional* 450Mb.  Look at top / Task Manager / whatever.

> Is there something I can do to be able to perform this analysis ? (I can
> not by more memory ;-)

Why are you returning so many results (apparently) when you only want one 
index?  Try returning just one?

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