You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Davide Maestroni (JIRA)" <ji...@apache.org> on 2013/04/09 09:10:15 UTC

[jira] [Created] (CB-2961) Download fails for very large files

Davide Maestroni created CB-2961:
------------------------------------

             Summary: Download fails for very large files
                 Key: CB-2961
                 URL: https://issues.apache.org/jira/browse/CB-2961
             Project: Apache Cordova
          Issue Type: Bug
          Components: iOS
    Affects Versions: 2.5.0
            Reporter: Davide Maestroni
            Assignee: Shazron Abdullah
            Priority: Blocker


When using the FileTransfer class for downloading files to the native filesystem, the download always fails for very large files (> 100 Megs). I noticed that, on the native side, the data are collected in memory and written to the filesystem only when the download process completes successfully. That may cause an out-of-memory exception if the total data do not fit into the RAM.

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