Question: Memory allocation error
0
gravatar for Azhar
2.7 years ago by
Azhar40
China
Azhar40 wrote:

HI I am runnig WGCNA code for calculating co expression adjacency Matrix but I am getting this error I am running this scrip in C directory and it has 60 Gb free space so why it still gives this error

> coexpression<-adjacency(data)
Error: cannot allocate vector of size 28.7 Gb
In addition: Warning messages:
1: In cor(datExpr, use = "p") :
  Reached total allocation of 3810Mb: see help(memory.size)
2: In cor(datExpr, use = "p") :
rna-seq • 1.1k views
ADD COMMENTlink modified 2.7 years ago by WouterDeCoster42k • written 2.7 years ago by Azhar40
2

The 3810Mb limit it's referring to is RAM, not disk space.

ADD REPLYlink written 2.7 years ago by andrew.j.skelton735.8k

Thanks andrew but what is the mean of

cannot allocate vector size 28.7 Gb

ADD REPLYlink written 2.7 years ago by Azhar40

Hello Azhar!

It appears that your post has been cross-posted to another site: https://support.bioconductor.org/p/93818/

This is typically not recommended as it runs the risk of annoying people in both communities.

ADD REPLYlink written 2.7 years ago by WouterDeCoster42k
3
gravatar for Jean-Karim Heriche
2.7 years ago by
EMBL Heidelberg, Germany
Jean-Karim Heriche21k wrote:

To be more explicit, it seems you're using a computer with only 4Gb of RAM but your data requires 29 Gb so try running your analysis on a computer with 32 Gb of RAM. Note that if you're using a 32bit version of Windows, you can only use at most 4 Gb even if the computer has more.

ADD COMMENTlink written 2.7 years ago by Jean-Karim Heriche21k
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1965 users visited in the last hour