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

JieWang commented on HDDS-3041:
-------------------------------

[~msingh] I have locate the memory leak, s3g creates client for each request at 
this: 
https://github.com/apache/hadoop-ozone/blob/master/hadoop-ozone/s3gateway/src/main/java/org/apache/hadoop/ozone/s3/OzoneClientProducer.java#L66,
 but does not release the connection resource of client. If I call 
client.close() before destroy client, the memory of s3g stop leak.  I will 
submit a PR for the fix.

> memory leak of s3g
> ------------------
>
>                 Key: HDDS-3041
>                 URL: https://issues.apache.org/jira/browse/HDDS-3041
>             Project: Hadoop Distributed Data Store
>          Issue Type: Bug
>          Components: S3
>    Affects Versions: 0.6.0
>            Reporter: JieWang
>            Priority: Major
>         Attachments: image-2020-02-24-12-06-22-248.png, 
> image-2020-02-24-12-10-09-552.png, image-2020-02-26-17-11-31-834.png, 
> screenshot-1.png, screenshot-2.png, screenshot-3.png, screenshot-4.png, 
> screenshot-5.png
>
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to