factoextra icon indicating copy to clipboard operation
factoextra copied to clipboard

fviz_dist: Error: Cannot allocate vector size X GBs

Open lrlvnvgene opened this issue 6 years ago • 2 comments

I'm trying to visualize the Ordered Dissimilarity Matrix (ODM) and keep getting an error that it cannot allocate a vector of size 16.4 Gb even though I have more than 32 Gb available when this happens. In other words, my system has plenty of memory available when this happens: my system is windows 10 Pro (64 bit), 64 GB of RAM, AND 4 Intel Xeon CPUs.

Does anybody know why this happening?

lrlvnvgene avatar Jul 04 '18 15:07 lrlvnvgene

@lrlvnvgene can you provide a minimum complete and verifiable example to replicate the issue? See this StackOverflow post on how to create one.

duttashi avatar Jul 31 '18 17:07 duttashi

@lrlvnvgene I could be wrong but sometimes the comuputation will require more than the vector size. You could try to increase virtual memory on windows, invisible(utils::memory.limit(50000))

ahdee avatar Nov 09 '19 16:11 ahdee