Repository navigation
Add arena capacity limitation - #13
Merged
Merged
Conversation
Member
|
Thanks for the fix! I am checking the background as there were earlier crash reports and possibly fixes were done. |
Member
Author
|
@shankar-iyer friendly reminder) |
shankar-iyer
approved these changes
Sep 8, 2026
pull Bot
pushed a commit
to infdahai/ClickHouse
that referenced
this pull request
Sep 8, 2026
Bumps `contrib/usearch` from `1ae009a` to `6bd13d4`, the tip of the `ClickHouse/v2.24.0` branch of the ClickHouse fork, which includes ClickHouse/usearch#13. That pull request fixes `memory_mapping_allocator_gt::allocate` under-allocating an arena: when a single allocation exceeded the additive allocation threshold, or when `ceil2` overflowed, the new arena could be smaller than the requested block, so the returned pointer extended past the mapping and the caller wrote into unmapped memory. The arena is now grown to at least `head_size() + extended_bytes`, and requests too large to round up without overflowing are rejected up front. The range also picks up the external accessor API (`allocate_vectors_lookup` and `set_vector_at_position`) and relaxes the size/vector-count check on the legacy load path when `exclude_vectors` is set. Both are additive and unused by ClickHouse for now. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.