FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

GH-990: [JDBC] Fix memory leak on Connection#close due to unclosed ResultSet(s) by ennuite · Pull Request #991 · apache/arrow-java · GitHub

GH-990: [JDBC] Fix memory leak on Connection#close due to unclosed ResultSet(s) - #991

Merged
jbonofre merged 4 commits into
apache:mainfrom
ennuite:fix-memory-leak-result-set
Jan 27, 2026
Merged

GH-990: [JDBC] Fix memory leak on Connection#close due to unclosed ResultSet(s)#991
jbonofre merged 4 commits into
apache:mainfrom
ennuite:fix-memory-leak-result-set

Conversation

ennuite commented Jan 27, 2026

Copy link
Copy Markdown
Contributor

What's Changed

Closing a Connection when there was one or more unclosed ResultSet that had been obtained
via methods of the interface DatabaseMetaData would generate exceptions due to memory leaks.

Now, closing a Connection will first close all the ResultSet instances obtained from DatabaseMetadata
instances associated with that Connection.

Closes #990.

ennuite changed the title [JDBC] Fix memory leak on Connection#close due to unclosed ResultSet(s) GH-990: [JDBC] Fix memory leak on Connection#close due to unclosed ResultSet(s) Jan 27, 2026

This comment has been minimized.

ennuite marked this pull request as ready for review January 27, 2026 02:48
jbonofre added the bug-fix PRs that fix a big. label Jan 27, 2026
jbonofre added this to the 19.0.0 milestone Jan 27, 2026
jbonofre merged commit ad59035 into apache:main Jan 27, 2026
26 of 30 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug-fix PRs that fix a big.

Projects

None yet

2 participants


Back | FazBrowse Home | New Git URL