You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Attila Doroszlai (Jira)" <ji...@apache.org> on 2022/08/18 12:55:00 UTC

[jira] [Commented] (HDDS-7136) Memory leak due to ChunkInputStream.close() not releasing buffer

    [ https://issues.apache.org/jira/browse/HDDS-7136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17581344#comment-17581344 ] 

Attila Doroszlai commented on HDDS-7136:
----------------------------------------

[~weichiu] do you plan to work on this?  If not, I can take it.

> Memory leak due to ChunkInputStream.close() not releasing buffer
> ----------------------------------------------------------------
>
>                 Key: HDDS-7136
>                 URL: https://issues.apache.org/jira/browse/HDDS-7136
>             Project: Apache Ozone
>          Issue Type: Bug
>            Reporter: Wei-Chiu Chuang
>            Assignee: Wei-Chiu Chuang
>            Priority: Critical
>
> We found Impala queries that run on ofs does not release memory after completion.
> Looking at heap dump, we realized unbuffer() was not called (due to HDDS-7135) and Impala calls close() on the input stream instead.
> According to InputStream javadoc, the close() should 
> bq. "Closes this input stream and releases any system resources associated with the stream."
> I believe close() should release buffer in addition to sockets (which it already does).



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org