mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Irwan Hendra (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SSHD-308) Possible Memory Leak in org.apache.sshd.client.sftp.DefaultSftpClient
Date Fri, 04 Apr 2014 07:27:14 GMT

     [ https://issues.apache.org/jira/browse/SSHD-308?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Irwan Hendra updated SSHD-308:

    Attachment: memoryleak.png

this is cropped screenshot of heap dump analysis, showed a 1GB leak in HashMap, this heapdump
is taken after all .close(true) commands are called

> Possible Memory Leak in org.apache.sshd.client.sftp.DefaultSftpClient
> ---------------------------------------------------------------------
>                 Key: SSHD-308
>                 URL: https://issues.apache.org/jira/browse/SSHD-308
>             Project: MINA SSHD
>          Issue Type: Bug
>    Affects Versions: 0.10.1
>         Environment: Windows 7, Java 7
>            Reporter: Irwan Hendra
>         Attachments: memoryleak.png
> Hi I think DefaultSftpClient is not releasing Buffer objects stored in HashMap messages
after .close() is called or after any files download are completed, therefore making the HashMap
an ever increasing HashMap.
> I have heapdump, how can I attach it here? sorry kinda new to this system, thanks

This message was sent by Atlassian JIRA

View raw message