[ 
https://issues.apache.org/jira/browse/VFS-472?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Stefan Kordes updated VFS-472:
------------------------------

    Attachment: patch_WebdavFileObject_revision-1459279.txt
    
> WebDav runs out of memory when dealing with large files
> -------------------------------------------------------
>
>                 Key: VFS-472
>                 URL: https://issues.apache.org/jira/browse/VFS-472
>             Project: Commons VFS
>          Issue Type: Improvement
>    Affects Versions: 2.0
>         Environment: Any
>            Reporter: Stefan Kordes
>              Labels: bytearrayoutputstream, outofmemory, webdav
>         Attachments: patch_WebdavFileObject_revision-1459279.txt
>
>
> When copying or moving large files from any protocol to webdav, an 
> OutOfMemoryException is thrown.
> This is because the WebDavOutputStream uses a ByteArrayOutputStream to store 
> the data before sending.
> We have created a patch for the latest version that uses a PipedOutputStream 
> and a InputStreamRequestEntity to prevent that.
> This issues has been reported before as VFS-47

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to