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

FileReader reads large files in a single chunk causing OOM exceptions

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 4.0.0
    • None
    • cordova-plugin-file
    • None
    • Android

    Description

      In Android, I tried to copy a 14MB file from html file input with org.apache.cordova.file 1.3.1. The App crashed and a 0 byte file was copied.

      I use http://ngcordova.com/ and here is my code https://github.com/shenzhuxi/readiator/blob/master/src/js/cordova-index.js.

      Attachments

        Issue Links

          Activity

            People

              jasongin Jason Ginchereau
              shenzhuxi shenzhuxi
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: