You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Irwan Hendra (JIRA)" <ji...@apache.org> on 2014/04/04 09:27:14 UTC

[jira] [Updated] (SSHD-308) Possible Memory Leak in org.apache.sshd.client.sftp.DefaultSftpClient

     [ 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
(v6.2#6252)