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