-
Notifications
You must be signed in to change notification settings - Fork 14
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
std::bad_alloc
failure when running ./zerocash_pour_ppzksnark/tests/test_zerocash_pour_ppzksnark
#1
Comments
This sounds like out-of-memory issue as multi-exponentiation tables need quite a bit of RAM. I'll try to reproduce this, but it used to work for us at the time of release. In the meantime, what happens if you build |
I can confirm that I'm unable to reproduce the bug both on Ubuntu wily and Debian jessie. Each of the machines has 16GB of RAM and no swap. |
Hm. I have 8Gb and no swap. I tried applying this patch:
-and then I did:
I didn't measure the memory consumption to determine that was the cause, so I'll try that next. |
Ah... I didn't also run
|
I just did this procedure:
It fails and the last few lines are:
I noticed that
libsnark
is linked dynamically, so this might just be an instance of libsnark #12. One thought is I could try changing the Makefile to use static linking and see if this symptom goes away.My system details:
Edit: Before I said I ran
make tests
but this isn't a valid make target.The text was updated successfully, but these errors were encountered: