-
Notifications
You must be signed in to change notification settings - Fork 506
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
not enough memory for BAM sorting #870
Comments
Hi Hemant have you actually specified --limitBAMsortRAM 41143265264 (or even a bit more :) in the STAR parameters? Cheers |
Hi Alex Here is the logout file. I had to re-run as i had deleted the previous files. This time star is telling me to use 90 GB with --limitBAMsortRAM. I will try this again and let you know. |
Hi @hemantgujar what is the size of the input FASTQ files? Cheers |
Here is the file that gave bad_alloc error Apr 03 22:51:12 ..... started STAR run File size is |
Hi @hemantgujar sorry for the belayed reply. This seems like another problem that happened before the completion of the 1st pass, while the original one happened after the completion of the 2nd pass, at the sorting step. It seems that the amount of available RAM on your server varies from run to run, which prevents STAR from allocating enough memory. Cheers |
Thanks Alex. |
Thanks for letting me know! |
@hemantgujar hello, I'm facing a similar problem. May you tell me which value you used for --outBAMsortingBinsN? Thanks |
Hi, I came across this problem and I set --outBAMsortingBinsN 200 which works for a 130G bam file. Hope this would help. |
Hi
I am running STAR with 400 GB memory. However I am still getting an error that says not enough memory. STAR then recommends me to use ~41 GB memory (--limitBAMsortRAM 41143265264 if my interpretation is correct). This does not makes sense to me. Can you please explain and provide a solution ? I have tried running with --limitBAMsortRAM. But then I get an std bad alloc error.
Thanks
Hemant
Mar 30 13:37:36 ..... started STAR run
Mar 30 13:37:36 ..... loading genome
Mar 30 13:42:00 ..... started 1st pass mapping
Mar 30 13:50:30 ..... finished 1st pass mapping
Mar 30 13:50:33 ..... inserting junctions into the genome indices
Mar 30 13:53:37 ..... started mapping
Mar 30 14:06:19 ..... finished mapping
Mar 30 14:06:20 ..... started sorting BAM
EXITING because of fatal ERROR: not enough memory for BAM sorting:
SOLUTION: re-run STAR with at least --limitBAMsortRAM 41143265264
Mar 30 14:06:20 ...... FATAL ERROR, exiting
The text was updated successfully, but these errors were encountered: