Error of Memory Size in R
2
1
Entering edit mode
5.5 years ago
12021560-040 ▴ 70
> rawData <- read.celfiles(celfiles)
Error: cannot allocate vector of size 800.0 Mb
1: In dimnames(elt) <- lapply(dimnames(elt), unname) :
Reached total allocation of 1941Mb: see help(memory.size)
2: In dimnames(elt) <- lapply(dimnames(elt), unname) :
Reached total allocation of 1941Mb: see help(memory.size)
3: In dimnames(elt) <- lapply(dimnames(elt), unname) :
Reached total allocation of 1941Mb: see help(memory.size)
4: In dimnames(elt) <- lapply(dimnames(elt), unname) :
Reached total allocation of 1941Mb: see help(memory.size)
> rawData
character(0)


I have Run this command but error occured and also Character count is (0). Please can anyone Help me to sort this error.

limma affy oligo bioconductor • 2.5k views
0
Entering edit mode

How much memory do you have on this machine? Are you using 32-bit R and/or OS? Are you able to load a smaller number of files (~5)?

1
Entering edit mode
5.5 years ago

It seems that you need a computer with more RAM resources Hoping you are not using a 32bits R, since it can allocate less memory than a 64 bits R

0
Entering edit mode

I have used 64bit R and also my window is 64bits.. But still facing this problem. :(

0
Entering edit mode

Still is needed to be known the amount of RAM memory set in your computer. What operative system are you using ?

In addition, run this commands into R

memory.limit() # It will provide the memory available


0
Entering edit mode
5.5 years ago

Suppose you need 2000 memory size, I think you could simply run this code memory.limit(size=2000) and then run your script(also you could give more size to your memory size), In my case I set my machine memory size to 190000