monocle-release icon indicating copy to clipboard operation
monocle-release copied to clipboard

monocle estimate dispersions out of memory

Open eamcmillan88 opened this issue 6 years ago • 5 comments

Hi, I'm trying to run a 10x single cell dataset of 50K cells. However, when I run the 'estimatedispersions()', function, I get an out of memory error. I tried increasing the memory with 'Sys.setenv('R_MAX_VSIZE'=3200000000000)', but I'm still getting the same error. Please see below:

Sys.setenv('R_MAX_VSIZE'=3200000000000)

cds<- estimateSizeFactors(cds)

cds<- estimateDispersions(cds) Error in asMethod(object) : Cholmod error 'out of memory' at file ../Core/cholmod_memory.c, line 147

eamcmillan88 avatar Jun 21 '19 18:06 eamcmillan88

@eamcmillan88 Hello,how did you solve it? I'm same as you.

Sophia409 avatar Jun 25 '19 04:06 Sophia409

same here

zhaoxi10 avatar Dec 29 '20 18:12 zhaoxi10

same here. but after I tried several ways on the internet, i reboot my computer and it just works. my CellDataSet object is about 3.02 Mb.

KforKuma avatar Mar 01 '21 11:03 KforKuma

same here, @ctrapnell

xiekunwhy avatar Jul 15 '21 16:07 xiekunwhy

Same here. I've tried adding options(java.parameters = "-Xmx20g") to larger memory and it works.

XiaoqiLuo avatar Dec 28 '22 08:12 XiaoqiLuo