Skip to content
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

terminate called after throwing an instance of 'std::bad_alloc' #19

Open
ThWacker opened this issue May 6, 2020 · 4 comments
Open

terminate called after throwing an instance of 'std::bad_alloc' #19

ThWacker opened this issue May 6, 2020 · 4 comments

Comments

@ThWacker
Copy link

ThWacker commented May 6, 2020

Hi,
I tried to run Raven on Nanopore data (quite a big file, 85GB roughly) on a HPCC with a Torque Scheduler. The run was aborted with the following StdErr:

[raven::] loaded 9087491 sequences 640.684164s
[raven::Graph::Construct] minimized 0 - 244845 / 9087491 359.047807s
[raven::Graph::Construct] mapped sequences 1918.468984s
[raven::Graph::Construct] minimized 244845 - 485704 / 9087491 369.553781s
[raven::Graph::Construct] mapped sequences 4952.626360s
[raven::Graph::Construct] minimized 485704 - 730713 / 9087491 422.459109s
[raven::Graph::Construct] mapped sequences 8062.137459s
[raven::Graph::Construct] minimized 730713 - 970097 / 9087491 365.644221s
[raven::Graph::Construct] mapped sequences 11157.831874s
[raven::Graph::Construct] minimized 970097 - 1205546 / 9087491 408.545256s
[raven::Graph::Construct] mapped sequences 14233.668864s
[raven::Graph::Construct] minimized 1205546 - 1444410 / 9087491 425.380612s
[raven::Graph::Construct] mapped sequences 17397.713790s
[raven::Graph::Construct] minimized 1444410 - 1678744 / 9087491 356.319257s
terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
/var/spool/torque/mom_priv/jobs/1752457.mgmt01.cluster.local.SC: line 4: 2272 Aborted "$@"

I am a bit at a loss why. Could it be that I run out of memory? Any help is appreciated!!
Thank you!

Best wishes

@rvaser
Copy link
Collaborator

rvaser commented May 6, 2020

Hello,
how much RAM does your machine have?

Best regards,
Robert

@ThWacker
Copy link
Author

ThWacker commented May 6, 2020 via email

@rvaser
Copy link
Collaborator

rvaser commented May 6, 2020

Hi Theresa,
128GB might not be enough. Is the file you have compressed or is the 85GB uncompressed size? Raven's memory requirements are around 1.3 * .FASTQ + 16GB.

Best regards,
Robert

@ThWacker
Copy link
Author

ThWacker commented May 6, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants