-
-
Notifications
You must be signed in to change notification settings - Fork 101
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Out of memory Issue #161
Comments
Hi, mosdepth will use an amount of memory that is about: |
Hi, thank you for the prompt reply! Appreciated! The case is, I'm using GNU parallel to run 60 jobs in parallel, each job contains a step of mosdepth processing. The parallel command and the 60 jobs are running under a PBS interactive environment, which has been scheduled with 80 threads and 750 GB RAM. Given that there is no way 60 jobs running mosdepth will take up to near 700 GB, and parallel itself does not set a limit on mem eaten. I'm not sure which command/tool limit the memory usage. P.S. Just in case, PBS is a job scheduler for HPC. We are using the PBS Pro commercial version as far as I know. Here should be the official website: https://www.altair.com/pbs-works/ |
Hi, this is likely not a mosdepth issue. The memory used by mosdepth is fixed. So it's something with your scheduler (PBS) or parallelizer (gnu parallel) and the way you're using them together. |
I thought the same at the beginning. Then I googled about this error message and some posts says it may come from htslib. Is mosdepth using htslib? |
Try to calculate the depth on a BAM file around 1Gb, got a prompt: out of memory.
The command I performed is:
mosdepth -Q 10 prefix <input_bam>
The text was updated successfully, but these errors were encountered: