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 some resource leaks in GpuCast and RapidsShuffleServerSuite #3231

Merged
merged 1 commit into from
Aug 16, 2021

Conversation

jlowe
Copy link
Member

@jlowe jlowe commented Aug 13, 2021

Noticed some warnings about leaked resources in the detailed test log, and upon investigating I found a few leaks. In the case of GpuCast, a column vector was being leaked if we threw an exception due to ANSI mode checks. For RapidsShuffleServerSuite, the getBufferSendState method returns an instance that must be closed but the tests were failing to do so.

Signed-off-by: Jason Lowe <jlowe@nvidia.com>
@jlowe jlowe added this to the Aug 16 - Aug 27 milestone Aug 13, 2021
@jlowe jlowe self-assigned this Aug 13, 2021
@jlowe
Copy link
Member Author

jlowe commented Aug 13, 2021

Note that viewing the diff with whitespace changes hidden should help with the GpuCast change.

@jlowe
Copy link
Member Author

jlowe commented Aug 13, 2021

build

@sameerz sameerz added the bug Something isn't working label Aug 15, 2021
@revans2 revans2 merged commit 2b1402d into NVIDIA:branch-21.10 Aug 16, 2021
razajafri pushed a commit to razajafri/spark-rapids that referenced this pull request Aug 23, 2021
…IA#3231)

Signed-off-by: Jason Lowe <jlowe@nvidia.com>
Signed-off-by: Raza Jafri <rjafri@nvidia.com>
@jlowe jlowe deleted the fix-resource-leaks branch September 10, 2021 15:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants