[
https://issues.apache.org/jira/browse/ARROW-7343?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16990889#comment-16990889
]
David Li commented on ARROW-7343:
---------------------------------
I don't particularly like this, but one way to fix this is to have GetListener
retain (Java) references to ArrowMessage so it can force clean them (perhaps on
a rolling basis).
> Memory leak in Flight DoGet when client cancels
> -----------------------------------------------
>
> Key: ARROW-7343
> URL: https://issues.apache.org/jira/browse/ARROW-7343
> Project: Apache Arrow
> Issue Type: Bug
> Components: FlightRPC, Java
> Affects Versions: 0.14.0
> Reporter: David Li
> Assignee: David Li
> Priority: Major
>
> I believe this causes things like ARROW-4765.
> If a stream is interrupted or otherwise not drained on the server-side, the
> serialized form of the ArrowMessage (DrainableByteBufInputStream) will sit
> around forever, leaking memory.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)