-
Notifications
You must be signed in to change notification settings - Fork 2
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
unitig-counter memory error #9
Comments
Hi John, Im trying to run unitig counter using the below command. But I have a memory associated error. Do you know how I could fix this? Thanks unitig-counter -strains strain_list.txt -output output -nb-cores 4 Building DBG and mapping strains on the DBG... |
I've not seen that before. How many samples are you looking at, and do you definitely have enough memory available on the system? You could maybe try using just a single core |
I looking at 150 samples. I've tried running unitig-counter with 1 core and different samples (either half the number of samples, 1 sample or a single NCBI fasta) but I still end up with a similar pool allocation error. I think I should have enough memory as the usage is 584136 but the capacity is 5242881088. |
that's odd. sometimes increasing the |
@anna7287 Sorry to intrude.. It's the |
hi @santeripuranen, as a GATB developer, I've seen Pool alloc failing before, usually because we've incorrectly estimated how much memory was needed, hence my max-memory comment. Cheers, Rayan |
@rchikhi May I suggest adding a test for |
Hi @rchikhi and @santeripuranen – thanks both for the insightful comments. Sounds like I need to make the |
@santeripuranen great suggestion, thanks. I've thrown an exception if that CALLOC() fails, to be on the safe side. |
@rchikhi Even better! Thanks! |
No description provided.
The text was updated successfully, but these errors were encountered: