cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Maxime LUCE (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CB-6994) Windows 8 does not save big file transferred using Blob
Date Fri, 20 Jun 2014 18:21:25 GMT

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

Maxime LUCE updated CB-6994:
----------------------------

    Description: 
When trying to save Blob using FileWriter.write method, if the blob's size is too high, we
get a stack overflow exception during the conversion of the blob into an basic array.

WinRT (WinJS) provide a method to write Blob directly to the filesystem. It uses Streams so
it's safe for memory.

More info at :
http://code.msdn.microsoft.com/windowsapps/Blob-Sample-0e35889e/sourcecode?fileId=43594&pathId=962515806
Method : writeBlobToFile

  was:
When trying to save Blob using FileWriter.write method, getting a stack overflow exception
during the conversion of the blob into an basic array.

WinRT (WinJS) provide a method to write Blob directly to the filesystem. It uses Streams so
it's safe for memory.

More info at :
http://code.msdn.microsoft.com/windowsapps/Blob-Sample-0e35889e/sourcecode?fileId=43594&pathId=962515806
Method : writeBlobToFile


> Windows 8 does not save big file transferred using Blob
> -------------------------------------------------------
>
>                 Key: CB-6994
>                 URL: https://issues.apache.org/jira/browse/CB-6994
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin File, Windows 8
>    Affects Versions: 3.5.0
>            Reporter: Maxime LUCE
>            Assignee: Maxime LUCE
>
> When trying to save Blob using FileWriter.write method, if the blob's size is too high,
we get a stack overflow exception during the conversion of the blob into an basic array.
> WinRT (WinJS) provide a method to write Blob directly to the filesystem. It uses Streams
so it's safe for memory.
> More info at :
> http://code.msdn.microsoft.com/windowsapps/Blob-Sample-0e35889e/sourcecode?fileId=43594&pathId=962515806
> Method : writeBlobToFile



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message