cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shazron Abdullah (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-7764) Cordova 3.4.1 + FileTransfer 0.4.0 on iOS 7.1.2 fails to upload large files (> 200MB)
Date Wed, 15 Oct 2014 22:53:34 GMT

    [ https://issues.apache.org/jira/browse/CB-7764?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14173102#comment-14173102
] 

Shazron Abdullah commented on CB-7764:
--------------------------------------

>From the repo's error log "Cannot allocate memory":
{code}
Oct 10 11:21:13 iPad-Julia MyApp2[709] <Warning>: imageURI
Oct 10 11:21:13 iPad-Julia MyApp2[709] <Warning>: file:///private/var/mobile/Applications/565E878D-C399-4F7C-8449-7D8A9C5742E2/tmp/trim.DBE2F02C-E742-4F48-A148-654089A011F3.MOV
Oct 10 11:21:13 iPad-Julia MyApp2[709] <Warning>: Error opening file file:///private/var/mobile/Applications/565E878D-C399-4F7C-8449-7D8A9C5742E2/tmp/trim.DBE2F02C-E742-4F48-A148-654089A011F3.MOV:
Error Domain=NSCocoaErrorDomain Code=256 "The operation couldnt be completed. (Cocoa error
256.)" UserInfo=0x14e2ff10 {NSFilePath=/private/var/mobile/Applications/565E878D-C399-4F7C-8449-7D8A9C5742E2/tmp/trim.DBE2F02C-E742-4F48-A148-654089A011F3.MOV,
NSUnderlyingError=0x14e3c280 "The operation couldnt be completed. Cannot allocate memory"}
{code}

My initial guess is the file reading functions are either:
1. reading the whole file from memory and uploading it
2. reading it chunk by chunk, but not releasing each chunk after it has been uploaded

> Cordova 3.4.1 + FileTransfer 0.4.0 on iOS 7.1.2 fails to upload large files (> 200MB)
> -------------------------------------------------------------------------------------
>
>                 Key: CB-7764
>                 URL: https://issues.apache.org/jira/browse/CB-7764
>             Project: Apache Cordova
>          Issue Type: Bug
>            Reporter: Vladimir Mitrokhin
>            Assignee: Shazron Abdullah
>
> Cordova 3.4.1 + FileTransfer 0.4.0 on iOS 7.1.2
> Upload file < 250 works, > 250 doesn't work.
> Simple app built from the file transfer sample code.
> https://github.com/Vladimir40491a/myrepository



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message