-
Notifications
You must be signed in to change notification settings - Fork 5
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
memory allocation error in 0.1.5b #13
Comments
Thanks Melissa, I'll have a look at the issue. |
@mjhubisz The issue is not a programming bug in The issue is also independent of the code changes in 0.1.5b w.r.t. 0.1.5. So, I'm wondering whether someone else can reproduce this bug. @mjhubisz, you you happen to have rust installed and are you able to generate a static binary that I may test? The commands are as follows: rustup target add x86_64-unknown-linux-musl
cargo build --target=x86_64-unknown-linux-musl --release |
@danydoerr Can you please build the GFAffix release binary with
instead? I'm not a Rust expert but this is what I always use for static builds and have never had issues. It also seems to solve the present problem. See wget http://public.gi.ucsc.edu/~hickey/debug/gfaffix which works on the given data (where I reproduce the error when building on the same system with musl). |
(I also had |
Thanks, @glennhickey, that's fantastic! I just downloaded your binary and confirm it's working. I'll upload it to replace the currently released binary. |
updated binary is now available at https://github.com/marschall-lab/GFAffix/releases/tag/0.1.5b |
I've been trying to figure out why a cactus run has been crashing, and have found it happens during a gfaffix step. It turns out that this step fails when using gfaffix v0.1.5b, but not v0.1.5. A reproducible example is below, though I apologize that the input file is quite large (5.5Gb uncompressed). I don't know enough about this program to make a smaller example. However, it only takes a few minutes to crash. Although the message says "memory allocation error", there is plenty of memory remaining, and I get the same behavior on both a 512Gb and 1Tb RAM server. The actual RAM usage seems to stay well under 100Gb.
with gfaffix v0.1.5b, this outputs:
But with v0.1.5, it appears to run smoothly.
The text was updated successfully, but these errors were encountered: