From: Richard Senior <Richard.Senior@Freeserve.com> - 2003-05-19 16:12:48
I am working on an software release management tool for my company. I
have a system which polls our source management system (starteam),
checks out files, creates A zip of the files to be released, and then
using the zip file as a catalogue, and the=20
Jsch java sftp methods, I copy all files from the remote folder into a
backup zip, and then copy all files from the zip into the remote
folder.. All this works... And I'm really pleased. However, it's working
on a server that doesn't challenge me about the key when I try to log
So here's the problem..
When I try it on the real deployment servers I am getting=20
Java.lang.OutOfMemoryError on my first call to "ChannelSftp.get(String
src, OutputStream dst)".
What could cause this? Is it something to do with access rights?
+-From: "Richard Senior" <Richard.Senior@...> --
|_Date: Mon, 19 May 2003 17:11:21 +0100 __________________
|So here's the problem.. When I try it on the real deployment
|servers I am getting Java.lang.OutOfMemoryError on my first call
|to "ChannelSftp.get(String src, OutputStream dst)".
|What could cause this? Is it something to do with access rights?
I found a problem in handling errors, like access rights, etc.
If the remote sshd is from F-Secure, OutOfMemoryError might happen.
In this version, exceptions will be thrown on those errors.