You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Ian Clelland (JIRA)" <ji...@apache.org> on 2013/07/12 17:29:48 UTC

[jira] [Resolved] (CB-4004) FileWriter fails to write large binary files

     [ https://issues.apache.org/jira/browse/CB-4004?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ian Clelland resolved CB-4004.
------------------------------

       Resolution: Fixed
    Fix Version/s: 3.0.0

This is fixed now; the binary bridge uses a faster all-JS base64 implementation without the ~150kB size limit of apply()
                
> FileWriter fails to write large binary files
> --------------------------------------------
>
>                 Key: CB-4004
>                 URL: https://issues.apache.org/jira/browse/CB-4004
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>         Environment: Android (tested on Nexus 7, Android 4.2)
>            Reporter: Chris Barton
>            Assignee: Ian Clelland
>            Priority: Minor
>             Fix For: 3.0.0
>
>
> When attempting to write a file or blob (let's say a 5MB zip archive) to disk via FileWriter#write, I receive a "RangeError, Maximum call stack size exceeded" when trying to turn the ArrayBuffer into a Base64 string in #exec.

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