[BioC] Error: cannot allocate vector of size ...

M L Smith mls40 at cam.ac.uk
Fri Jul 21 18:24:16 CEST 2006


Hi Paul,
If you've followed that advice or you've already got plenty of RAM 
you can try the command:

memory.limit(2048)

This should allow R to use 2Gb of RAM (the max it can use on a 
normal Windows machine), rather than the 1Gb it defaults too.

Mike Smith


> Wall, Dennis Paul wrote:
> > I am trying to run the pam algorithm for k-means clustering, but keep
> > getting the error "Error: cannot allocate vector of size 1048384K"
> > 
> > Any help on how to fix this would be greatly appreciated.
> 
> That error means you are running out of RAM. The quickest, best 
fix is 
> to get more.
> 
> Best,
> 
> Jim
> 
> 
> > 
> > 
> > Cheers,
> > 
> > Dennis
> > 
> > _______________________________________________


-- 
Computational Biology Group 
Hutchison / MRC Research Centre 
Department of Oncology 
University of Cambridge 
Hills Rd, Cambridge CB2 2XZ 

Email: mls40 at cam.ac.uk



More information about the Bioconductor mailing list