-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
badger and 32bit CPU #514
Comments
Happy to accept a PR to that extent. |
A possible fix would be to substract 1 to the |
That sounds like a one-line change. Sure, send it my way, I'll consider it. |
This was referenced Aug 10, 2018
Submitted this 341a135, which should fix the issue. Can you test? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Problem:
ValueLogFileSize
is1<<30
.mmap
is made doing2 * ValueLogFileSize
.unix.Mmap
takes an integer as parameter, making the call fail.badger.Open returns:
There should be a difference for 32bits arch, because badger with a default configuration just can't work on 32bit.
The text was updated successfully, but these errors were encountered: