commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Torsten Curdt <>
Subject Re: [VFS] OutOfMemory Exception on large files
Date Wed, 08 Jun 2005 18:43:05 GMT
>> We can even reproduce it with the "file:" protocol!
> What? I cant belief.

Doh! ...forget what I said - all cool with "file:"
(obviously my jetlag is kickin in) Sorry for the
noise and thanks for the crosscheck.

>> Can you point me into the right direction ...haven't had
>> a closer look into the vfs codebase yet.
> Please find:
> org.apache.commons.vfs.provider.webdav.WebdavFileObject and its inner
> class WebdavOutputStream
> Also the sftp FileProvider uses a byte buffer. Its easy to change this
> to jsch own "getOutputStream()" method but jsch internally also uses a
> pipe and it is dog slow then. Java uses a buffer of 1K for its pipe wich
> seems to be a huge performance bottleneck.

Ok ...thanks for the pointers - will see what I can do


View raw message