Skip to content
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

Add options --ulimit und --parser-buffer-size configurable for qlever index command #132

Merged
merged 5 commits into from
Feb 12, 2025

Conversation

hannahbast
Copy link
Member

@hannahbast hannahbast commented Feb 11, 2025

So far, the ulimit was set to 1048576 when the size of the input files is larger than 10 GB, which is a simplisitic and rough heuristic. In particular, this does not work when the RDF data is produced from the input file and the latter is relatively small compared to the former. Or when the OS allows increasing the ulimit but not that much. Now the ulimit can also be set explicitly via the option --ulimit of the qlever index command, or via the variable ULIMIT in the [index] section of the Qleverfile.

Further, ad-freiburg/qlever#1698 introduced an option --parser-buffer-size to IndexBuilderMain, see there for the effect. This can now also be set explicitly via the option --parser-buffer-size of the qlever index command, or via the variable PARSER_BUFFER_SIZE in the [index] Qleverfile.

@hannahbast hannahbast merged commit e5a4990 into main Feb 12, 2025
9 checks passed
hannahbast pushed a commit that referenced this pull request Feb 13, 2025
The command used by `qlever index` now looks like this: `ulimit -Sn <ulimit> && IndexBuilderMain ...` (so far, the `&&` was a `;`). The default `ulimit` for inputs larger than 10 GB has been reduced from 1048576 to 500000.

NOTE: If the reason for a failure was a too large `ulimit`, see #132

Co-authored-by: Hannah Bast <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant