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

Only retain two allocations #425

Merged

Conversation

antiguru
Copy link
Member

This fixes retaining memory as large as the output when sealing the merge batcher for columnation.

This fixes retaining memory as large as the output when sealing the merge
batcher for columnation.

Signed-off-by: Moritz Hoffmann <antiguru@gmail.com>
@frankmcsherry
Copy link
Member

This makes sense to me, after conversation with you!

@frankmcsherry frankmcsherry merged commit 97bda37 into TimelyDataflow:master Nov 23, 2023
1 check passed
@antiguru
Copy link
Member Author

Confirming that it fixes the issue observed in https://github.com/MaterializeInc/database-issues/issues/7033.

@antiguru antiguru deleted the merge_batcher_col_recycle branch November 23, 2023 01:09
vmarcos pushed a commit to MaterializeInc/differential-dataflow that referenced this pull request Nov 23, 2023
This fixes retaining memory as large as the output when sealing the merge
batcher for columnation.

Signed-off-by: Moritz Hoffmann <antiguru@gmail.com>
sploiselle pushed a commit to sploiselle/materialize that referenced this pull request Nov 24, 2023
This commit makes Materialize use a branched version of DD that is
compatible with the v0.78 series and includes the fix to a memory
allocation spike in TimelyDataflow/differential-dataflow#425.
antiguru added a commit to antiguru/differential-dataflow that referenced this pull request Nov 25, 2023
A follow-up to TimelyDataflow#425. Retain two elements instead of three in the stash.
Avoid doubling reallocations in the first `keep` object.

Signed-off-by: Moritz Hoffmann <antiguru@gmail.com>
antiguru added a commit to antiguru/differential-dataflow that referenced this pull request Nov 25, 2023
A follow-up to TimelyDataflow#425. Retain two elements instead of three in the stash.
Avoid doubling reallocations in the first `keep` object.

Signed-off-by: Moritz Hoffmann <antiguru@gmail.com>
frankmcsherry pushed a commit that referenced this pull request Nov 25, 2023
A follow-up to #425. Retain two elements instead of three in the stash.
Avoid doubling reallocations in the first `keep` object.

Signed-off-by: Moritz Hoffmann <antiguru@gmail.com>
This was referenced Oct 29, 2024
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