Skip to main content
Topic: Cannot Allocate Vector (Read 5554 times) previous topic - next topic

Cannot Allocate Vector

Problem: You see some variant of the error
Quote
Error: cannot allocate vector of size 329.5 Mb

Though the number 330MB seems small enough for todays computers, R only reports the last failed allocation.
  • Try Linux (or 64bit windows) !
  • Possible to try R 3.0.0 (current devel as of Jan 2013, stable release scheduled for May)

Please check the R-on-windows-FAQ. There are some hints to get a little bit more memory available to R on windows. Generally, R runs faster and smoother on Linux.
You might try to export the files in centroid mode to reduce memory consumption or use R under linux instead of windows. More ideas are in ReduceFileSizes.
~~
H. Paul Benton
Scripps Research Institute
If you have an error with XCMS Online please send me the JOBID and submit an error via the XCMS Online contact page