[R] memory problems

Ernesto Jardim ernesto at ipimar.pt
Fri Jan 24 13:50:03 CET 2003


Hi

I'm using SuSE 8.0 and R 1.6.2. The mem.limits are nt set so it should
go to the maximum the machine allows.

My doubt is that I have 2GB and R is complainig about allocating less
then 500MB.

Regards

EJ

On Fri, 2003-01-24 at 22:22, Andrew C. Ward wrote:
> Ernesto,
> 
> I can't tell what version of R you're using and for which platform.
> In any case, there are some start-up options relating to memory
> usage, and you will find discussions of these in the relevant
> FAQ. Under Windows, the amount of memory that R uses is set by the
> command-line flag "--max-mem-size".
> 
> An alternative is to perform your analysis on just a few random
> subsets of data and then aggregate the results. I don't know how
> big your data set actually is so it's hard to provide more
> specific guidance.
> 
> Post again if you're still having trouble.
> 
> 
> 
> Regards,
> 
> Andrew C. Ward
> 
> CAPE Centre
> Department of Chemical Engineering
> The University of Queensland
> Brisbane Qld 4072 Australia
> andreww at cheque.uq.edu.au
> 
> 
> 
> On Friday, January 24, 2003 10:02 PM, Ernesto Jardim [SMTP:ernesto at ipimar.pt] 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.
> > 
> > Is there something I can do to be able to perform this analysis ? (I can
> > not by more memory ;-)
> > 
> > Thanks
> > 
> > EJ
> > 
> > -- 
> > Ernesto Jardim <ernesto at ipimar.pt>
> > Marine Biologist
> > IPIMAR - National Research Institute for Agriculture and Fisheries
> > Av. Brasilia, 1400-006
> > Lisboa, Portugal
> > Tel: +351 213 027 000
> > Fax: +351 213 015 948
> > http://ernesto.freezope.org
> > 
> > ______________________________________________
> > R-help at stat.math.ethz.ch mailing list
> > http://www.stat.math.ethz.ch/mailman/listinfo/r-help
-- 
Ernesto Jardim <ernesto at ipimar.pt>
Marine Biologist
Research Institute for Agriculture and Fisheries
Lisboa, Portugal
Tel: +351 213 027 000
Fax: +351 213 015 948




More information about the R-help mailing list