commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Kordes (JIRA)" <j...@apache.org>
Subject [jira] [Created] (VFS-472) WebDav runs out of memory when dealing with large files
Date Thu, 21 Mar 2013 16:31:17 GMT
Stefan Kordes created VFS-472:
---------------------------------

             Summary: 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


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 that uses a PipedOutputStream and a InputStreamRequestEntity to prevent
that.

--
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

Mime
View raw message