Off topic:how I can increase the usable memory in R?
1
0
Entering edit mode
8.5 years ago
zizigolu ★ 4.3k

Hello,

Is there a way to increase the usable memory into R by using virtual memory of the hard disk? Because many R packages can't allocate a matrix with more than 20000 columns and 100 row and always the same error

res_aracne <- build.mim(tmycounts,estimator = "spearman")
Error: cannot allocate vector of size 3.4 Gb
In addition: Warning messages:
1: In `diag<-`(`*tmp*`, value = 0) :
  Reached total allocation of 8088Mb: see help(memory.size)
2: In `diag<-`(`*tmp*`, value = 0) :
  Reached total allocation of 8088Mb: see help(memory.size)
3: In `diag<-`(`*tmp*`, value = 0) :
  Reached total allocation of 8088Mb: see help(memory.size)
4: In `diag<-`(`*tmp*`, value = 0) :
  Reached total allocation of 8088Mb: see help(memory.size)
> memory.size()
[1] 3967.84
> memory.size(max = TRUE)
[1] 4865.25

Thank you

R software-error • 21k views
ADD COMMENT
This thread is not open. No new answers may be added
Traffic: 2069 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