-
Notifications
You must be signed in to change notification settings - Fork 119
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
Problems running bench with 1M files #199
Comments
Longer explanation: the easiest way to make a reasonably performant RandomAccessReader class is to use mmap, but Java's standard mmap only supports segments up to 2GB. Hence the comments here:
We plugged in a native library to work around this in So your options include (from easiest to hardest)
|
Yep I know that but I’m running on Linux x64 which is the reason why I was surprised about the 2GB limit. |
looks like for some reason it can't find the native mmap library |
Will do, thx for the hint 👍🏻 |
Thanks for the report @HanSolo. This identifies an issue with JVector and not your setup. I'll push a PR shortly that provides better diagnostic output and fixes the issue (which I'll link here). |
Issue reproduced and resolved locally by the linked PR. If this PR doesn't resolve your issue, it should at least provide a clearer reason for the fallback. |
Downloaded the 1M dataset and adjusted the code in DownloadHelper and Bench according to the new file names but when trying to run the bench example using
./mvnw -Pjdk11 compile exec:exec@bench
it stops running after a while with a RuntimeException.RuntimeException_executing_bench_on_1M_dataset.txt
machine_info.txt
Is there anything specific one need to adjust to make the bench example run with the 1M dataset?
The text was updated successfully, but these errors were encountered: