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] [Updated] (VFS-472) WebDav runs out of memory when dealing with large files
Date Thu, 21 Mar 2013 16:33:15 GMT

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

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

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

  was:
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.

    
> 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

Mime
View raw message