Hi Anjana! > i am getting an outofmemory exception while trying to do VFS SFTP for > a 20 mb file. One way to workaround the problem with SFTP and large files is to add the -Xmx256M (or appropriate) to your java start command to allow the jvm to reserve more memory, but for sure, the OOM exception will come back with larger files then.
> i tested this with a timer set to run every minute which invokes vfs > ant and this worked for like first 10 mts and after that it stoped > copying. Hmmmm ... could you please paste a "full stack trace" [1] when vfs stop copying, I assume it hangs at all, no? That stack trace should give us a clue where it hangs. Which version of JSCH do you use? Maybe upgrading to the latest version will help. Ciao, Mario [1] http://java.sun.com/developer/technicalArticles/Programming/Stacktrace/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
