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

fix: Use AllocatorPool in Stream and TableBuilder #1595

Merged
merged 1 commit into from
Nov 11, 2020

Conversation

danielmai
Copy link
Contributor

@danielmai danielmai commented Nov 11, 2020

Cherry-pick of #1593 onto release/v3.2011.

We removed the global z.Allocator pool from z package. Instead, we now use a new z.AllocatorPool class in the places which need a pool. In this case, we brought it to TableBuilder and Stream.

Fix up a memory leak in Stream.


This change is Reviewable

We removed the global z.Allocator pool from z package. Instead, we now use a new z.AllocatorPool class in the places which need a pool. In this case, we brought it to TableBuilder and Stream.

Fix up a memory leak in Stream.

Co-authored-by: Ibrahim Jarif <ibrahim@dgraph.io>
@danielmai danielmai changed the base branch from master to release/v3.2011 November 11, 2020 21:12
@danielmai danielmai merged commit b571cf9 into release/v3.2011 Nov 11, 2020
@danielmai danielmai deleted the danielmai/v3.2011-allocatorpool branch November 11, 2020 21:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants