Closed 1onic closed 11 months ago
Hi @1onic,
This is probably worth a ping to support@10xgenomics.com, they'll be able to work through this with you and also provide instructions on how to upload the pipestance data that will allow us to debug more easily.
But as a quick response, you hit the issue spot on, your change adjusts the memory for the chunk stage but it was the split step of the split/chunk/join
process that had the out of memory error. To change the memory request for the split
stage, you can convert what you wrote to split.mem_gb
, see here for more details and an example. I wouldn't bother changing the default threads.
Am curious how you encountered a memory issue here though. When we developed the recently released Chromium X instrument the stages in our aggregation pipeline were pretty heavily stressed tested to ensure they could handle the incredibly large datasets that instrument enables, and this stage shouldn't be consuming more than the default 4 GB of memory. Some clusters limit Virtual Memory instead of actual in-use memory which might partially explain this, but if you upload the tarball to our support team we can likely better diagnose and help make sure no one else encounters this problem.
Warm wishes, Nigel
Hi @evolvedmicrobe,
Thanks for the overrides. This issue was encountered when aggregating the KD8 dataset from Replogle et al. 2022: https://pubmed.ncbi.nlm.nih.gov/35688146/
Hello,
I am currently trying to configure CellRanger to a large cluster (10k+ cores) and I am finding it necessary to use the overrides option flag to provide a .json with an override targetted to address the following CellRanger stage memory issue:
Leading to:
Then inspecting
SC_RNA_AGGREGATOR_CS/COUNT_AGGR/SC_RNA_AGGREGATOR/NORMALIZE_DEPTH
and looking at "/fork0/split-u36763e66df/_errors" I see the following:"The latter is more serious, as clusters may impose strict memory limits, and kill a job if those limits are exceeded."
Based on the above, I though that increasing the memory of
SC_RNA_AGGREGATOR_CS/COUNT_AGGR/SC_RNA_AGGREGATOR/NORMALIZE_DEPTH
through https://support.10xgenomics.com/single-cell-gene-expression/software/pipelines/latest/advanced/cluster-mode would mean that my overrides will look like this:But this does not work and leads to the same issue show above (oom-kill at fork0/split stage). After applying the override above I also saw that the jobscript releated to fork0/split remained the same: 4G. How can I increase the memory of the fork0/split stage in this case? Do I need to specify additional information in the json?
Best and thanks,