You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug, including details regarding any error messages, version, and platform.
An imported stream will leak memory as CArrowArray instances are allocated for each batch but they're never freed.
Code which imports an IArrowArrayStream may have trouble freeing the CArrowArrayStream that was used to import it because it can't necessarily track the stream's lifetime.
Component(s)
C#
The text was updated successfully, but these errors were encountered:
…#35996)
### What changes are included in this PR?
To ensure proper cleanup, immediately copies the contents of the C structure into the imported class for arrays and streams.
Relaxes the requirement when exporting that the target structure appear uninitialized.
### Are these changes tested?
Existing tests pass. We don't as yet seem to have a good way to test for memory leaks so no new tests have been added.
### Are there any user-facing changes?
No.
* Closes: #35988
Authored-by: Curt Hagenlocher <[email protected]>
Signed-off-by: Eric Erhardt <[email protected]>
Describe the bug, including details regarding any error messages, version, and platform.
An imported stream will leak memory as CArrowArray instances are allocated for each batch but they're never freed.
Code which imports an IArrowArrayStream may have trouble freeing the CArrowArrayStream that was used to import it because it can't necessarily track the stream's lifetime.
Component(s)
C#
The text was updated successfully, but these errors were encountered: