cannot allocate vector of size 64.1 Mb
1
0
Entering edit mode
8.1 years ago

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 • 9.6k views
ADD COMMENT
2
Entering edit mode
8.1 years ago

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 COMMENT
0
Entering edit mode

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 REPLY
2
Entering edit mode
ADD REPLY
0
Entering edit mode

Thank you Dear Matt Shirley

ADD REPLY

Login before adding your answer.

Traffic: 2132 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6