Skip to content

Conversation

@ffenix113
Copy link

@ffenix113 ffenix113 commented Nov 5, 2021

In some cases number of pre-allocated places in argument array is missing 1 or 2 elements, which results in re-allocation of twice as large array.

Particularly XRead's off-by-one smaller pre-allocation is responsible for up to 10% of total allocated memory in our prod application.

In some cases number of pre-allocated places in
argument array is missing 1 or 2 elements,
which results in re-allocation of twice as large array
@ffenix113
Copy link
Author

Linter errors seem to be unrelated to the PR itself.

@vmihailenco
Copy link
Collaborator

Thanks for the PR and sorry for the delay.

@vmihailenco vmihailenco merged commit 10b3668 into redis:master Nov 21, 2021
@ffenix113
Copy link
Author

No worries! Thank you for the review.

Would it maybe be possible to have a patch version released? Or maybe there is next release planned?

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.

2 participants