Question: cannot allocate vector of size 64.1 Mb
0
gravatar for Shamim Sarhadi
2.1 years ago by
IRAN
Shamim Sarhadi200 wrote:

I am so sorry for my non-specific question

when I open my R it gives me an error that says :

Error: cannot allocate vector of size 64.1 Mb
In addition: Warning messages:
1: Reached total allocation of 6029Mb: see help(memory.size) 
2: Reached total allocation of 6029Mb: see help(memory.size) 
3: Reached total allocation of 6029Mb: see help(memory.size) 
4: Reached total allocation of 6029Mb: see help(memory.size)

> sessionInfo()
R version 3.2.4 (2016-03-10)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows >= 8 x64 (build 9200)

locale:
[1] LC_COLLATE=English_United States.1252 
[2] LC_CTYPE=English_United States.1252   
[3] LC_MONETARY=English_United States.1252
[4] LC_NUMERIC=C                          
[5] LC_TIME=English_United States.1252    

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods  
[7] base     

loaded via a namespace (and not attached):
 [1] zlibbioc_1.16.0       IRanges_2.4.8        
 [3] BiocInstaller_1.20.1  XVector_0.10.0       
 [5] parallel_3.2.4        tools_3.2.4          
 [7] affy_1.48.0           affyio_1.40.0        
 [9] Biobase_2.30.0        Biostrings_2.38.4    
[11] splines_3.2.4         gcrma_2.42.0         
[13] preprocessCore_1.32.0 S4Vectors_0.8.11     
[15] BiocGenerics_0.16.1   affyPLM_1.46.0       
[17] stats4_3.2.4

Also my saved object does not exist anymore? I run this code memory.limit(size=15000) , but it can not be saved

Thanks in advance

memory managmet • 4.7k views
ADD COMMENTlink modified 2.1 years ago by Biostar ♦♦ 20 • written 2.1 years ago by Shamim Sarhadi200
2
gravatar for Matt Shirley
2.1 years ago by
Matt Shirley8.4k
Cambridge, MA
Matt Shirley8.4k wrote:

Your saved object might be the problem. Check your current directory for a .RData file: ls -a .RData. It looks like you saved a really large object and R is automatically loading it when you start the interpreter, running out of memory.

ADD COMMENTlink written 2.1 years ago by Matt Shirley8.4k

yes, I saved a large data,I found my files in cache folder! is there any way to fix this problem or at least to prevent R for loading previous workspace automatically ??

ADD REPLYlink written 2.1 years ago by Shamim Sarhadi200
2

Try R --vanilla: https://stat.ethz.ch/R-manual/R-devel/library/base/html/Startup.html

ADD REPLYlink written 2.1 years ago by Matt Shirley8.4k

Thank you Dear Matt Shirley

ADD REPLYlink written 2.1 years ago by Shamim Sarhadi200
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: 1608 users visited in the last hour