Hi, +-From: "B. Scott Smith" <sc...@smithdomain.com> -- |_Date: Wed, 04 Jan 2012 12:10:25 -0600 ___________ | |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. Ah, you have commented out lines, not deleted lines. Ok, it will work well, but it's not acceptable because of lots of thread spawn. How about 'jsch-0.1.46.flowcontrol.zip' ? If it works well, that change may be applied to the future release. Sincerely, -- Atsuhiko Yamanaka JCraft,Inc. 1-14-20 HONCHO AOBA-KU, SENDAI, MIYAGI 980-0014 Japan. Tel +81-22-723-2150 Skype callto://jcraft/ Twitter: http://twitter.com/ymnk Facebook: http://facebook.com/aymnk ------------------------------------------------------------------------------ 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