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_pool and 
com.jcraft.jsch.ChannelX11.fake_cookie_hex_pool still hold references to the 
com.jcraft.jsch.Session objects and hence they are not garbage collected.

If 10 installs are performed using my application. 10*30=300 instances of 
com.jcraft.jsch.Session are present in the heap.

Is there a way to resolve this ?


      

------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
_______________________________________________
JSch-users mailing list
JSch-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jsch-users

Reply via email to