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

GH-36981: [Go] Fix ipc reader leak #36982

Merged
merged 2 commits into from
Aug 1, 2023
Merged

Conversation

thorfour
Copy link
Contributor

@thorfour thorfour commented Aug 1, 2023

Rationale for this change

Previously the ipc reader was leaking allocations.

What changes are included in this PR?

Call Clear() on the memo table on final release of the ipc reader.

Are these changes tested?

Yes

Are there any user-facing changes?

@github-actions
Copy link

github-actions bot commented Aug 1, 2023

⚠️ GitHub issue #36981 has been automatically assigned in GitHub to PR creator.

Copy link
Member

@zeroshade zeroshade left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, thanks for this!

@github-actions github-actions bot added awaiting merge Awaiting merge and removed awaiting review Awaiting review labels Aug 1, 2023
@zeroshade zeroshade merged commit f44e28f into apache:main Aug 1, 2023
24 checks passed
@zeroshade zeroshade removed the awaiting merge Awaiting merge label Aug 1, 2023
@thorfour thorfour deleted the fix-ipc-reader-leak branch August 1, 2023 17:03
@conbench-apache-arrow
Copy link

After merging your PR, Conbench analyzed the 5 benchmarking runs that have been run so far on merge-commit f44e28f.

There were no benchmark performance regressions. 🎉

The full Conbench report has more details. It also includes information about possible false positives for unstable benchmarks that are known to sometimes produce them.

loicalleyne pushed a commit to loicalleyne/arrow that referenced this pull request Nov 13, 2023
### Rationale for this change

Previously the ipc reader was leaking allocations.

### What changes are included in this PR?

Call `Clear()` on the memo table on final release of the ipc reader.

### Are these changes tested?

Yes

### Are there any user-facing changes?

* Closes: apache#36981

Authored-by: thorfour <me@thor-hansen.com>
Signed-off-by: Matt Topol <zotthewizard@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Go] IPC Reader leaks dictionary allocations
2 participants