Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-2961

Download fails for very large files

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Duplicate
    • 2.5.0
    • None
    • cordova-ios
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              shazron Shazron Abdullah
              davide Davide Giannella
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: