You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Thomas Wolf (Jira)" <ji...@apache.org> on 2022/12/31 20:53:00 UTC

[jira] [Resolved] (SSHD-1316) Possible OOM in ChannelPipedInputStream

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

Thomas Wolf resolved SSHD-1316.
-------------------------------
    Fix Version/s: 2.9.3
         Assignee: Thomas Wolf
       Resolution: Fixed

> Possible OOM in ChannelPipedInputStream
> ---------------------------------------
>
>                 Key: SSHD-1316
>                 URL: https://issues.apache.org/jira/browse/SSHD-1316
>             Project: MINA SSHD
>          Issue Type: Bug
>    Affects Versions: 2.9.2
>            Reporter: Evgeny Pasynkov
>            Assignee: Thomas Wolf
>            Priority: Major
>             Fix For: 2.9.3
>
>
> Hi, 
> Using Mina SSHD as a client, I sometimes experience the OutOfMemory in ChannelPipedInputStream. The problem occurs when client reads data from backing buffer slower than channel pushes data from socket into stream, so the `ChannelPipedInputStream.buffer` grows beyond memory limits.
> Could you please support limit for the backing buffer and throttle when it overflows?
> Thank you in advance 



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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@mina.apache.org
For additional commands, e-mail: dev-help@mina.apache.org