Return-Path: X-Original-To: apmail-commons-issues-archive@minotaur.apache.org Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3F562FB15 for ; Thu, 21 Mar 2013 16:33:16 +0000 (UTC) Received: (qmail 46686 invoked by uid 500); 21 Mar 2013 16:33:15 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 46564 invoked by uid 500); 21 Mar 2013 16:33:15 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 46389 invoked by uid 99); 21 Mar 2013 16:33:15 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Mar 2013 16:33:15 +0000 Date: Thu, 21 Mar 2013 16:33:15 +0000 (UTC) From: "Stefan Kordes (JIRA)" To: issues@commons.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (VFS-472) WebDav runs out of memory when dealing with large files MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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