Re: [JSch-users] com.jcraft.jsch.Session objects clogging the heap

2011-03-06 Thread prakash babu
thank you very much Atsuhiko . That worked. thanks, Prakash --- On Thu, 3/3/11, Atsuhiko Yamanaka wrote: From: Atsuhiko Yamanaka Subject: Re: [JSch-users] com.jcraft.jsch.Session objects clogging the heap To: jprakashb...@yahoo.co.in Cc: jsch-users@lists.sourceforge.net Date: Thursday, March

Re: [JSch-users] com.jcraft.jsch.Session objects clogging the heap

2011-03-03 Thread Atsuhiko Yamanaka
Hi, +-From: prakash babu -- |_Date: Thu, 3 Mar 2011 15:24:19 +0530 (IST) _ | |I have a web applications which installs software using jsch on remote machines. |During a single install I almost connect 30 times to the remote host, |each time executing some command. After e

Re: [JSch-users] com.jcraft.jsch.Session objects clogging the heap

2011-03-03 Thread Chad Kellerman
I run a similar situation/setup. I need to connect to 10 servers, (and originally 20 times a piece.) What I found to be most efficient and reliable. at the start of the processes, make the 10 connections (I throw them in a HashMap) , and keep them Every time I need to use the connection, I pick i

[JSch-users] com.jcraft.jsch.Session objects clogging the heap

2011-03-03 Thread prakash babu
I have a web applications which installs software using jsch on remote machines. During a single install I almost connect 30 times to the remote host, each time executing some command. After each command i close the channel and session. Inspite of this com.jcraft.jsch.ChannelX11.fake_cookie_poo