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

Thomas Wolf commented on SSHD-1316:
-----------------------------------

Just yesterday I merged [PR-292|https://github.com/apache/mina-sshd/pull/292], 
which could be exactly this. Please try with current master. 

> 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
>            Priority: Major
>
> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to