Return-Path: X-Original-To: apmail-cordova-issues-archive@minotaur.apache.org Delivered-To: apmail-cordova-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 D3246EE67 for ; Mon, 25 Feb 2013 20:12:14 +0000 (UTC) Received: (qmail 30850 invoked by uid 500); 25 Feb 2013 20:12:14 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 30820 invoked by uid 500); 25 Feb 2013 20:12:14 -0000 Mailing-List: contact issues-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list issues@cordova.apache.org Received: (qmail 30682 invoked by uid 99); 25 Feb 2013 20:12:14 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Feb 2013 20:12:14 +0000 Date: Mon, 25 Feb 2013 20:12:14 +0000 (UTC) From: "Andrew Grieve (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CB-2537) Out of memory errors : FileTransfer download fails for large files over a certain size 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/CB-2537?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13586238#comment-13586238 ] Andrew Grieve commented on CB-2537: ----------------------------------- Yeah, the plugin is currently accumulating the entire response in an NSMutableData and writing it to disk only after the transfer completes... Not the best idea. > Out of memory errors : FileTransfer download fails for large files over a certain size > --------------------------------------------------------------------------------------- > > Key: CB-2537 > URL: https://issues.apache.org/jira/browse/CB-2537 > Project: Apache Cordova > Issue Type: Bug > Components: iOS > Affects Versions: 2.4.0 > Environment: Mac OSX 10.7 / Xcode 4.6 / iOS FW 5 & 6 > Reporter: charbon bleu > Assignee: Andrew Grieve > > Hello, > on iOS (FW 5 & 6), i'm facing a problem with the download function of FileTransfer API. > Downloading files over a certain size (approx 300MB / 400MB) leads to a out of memory error. > is there any way to bypass this limit ? by applying a chunked mode like in the upload function ? > Thanks for your help -- 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