Hi, On 1/4/2012 7:59 AM, Atsuhiko Yamanaka wrote: > Ah, it is an known behavior, and I have recognized that > a fix like your change will resolve most of case, > but will case OOME in some case. As for your change, > data may be cached unlimitedly in WriteQueue#witeList.
I tested that it will not be cached unlimitedly or cause OutOfMemory error, because in my implementation I do not send the SSH_MSG_CHANNEL_WINDOW_ADJUST message until after the data is successfully written. Thus the SSH server will suspend sending more data until it is appropriate. - Scott ------------------------------------------------------------------------------ Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox _______________________________________________ JSch-users mailing list JSch-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jsch-users