Return-Path: X-Original-To: apmail-cordova-issues-archive@minotaur.apache.org Delivered-To: apmail-cordova-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B522C117CD for ; Wed, 4 Jun 2014 15:07:01 +0000 (UTC) Received: (qmail 91084 invoked by uid 500); 4 Jun 2014 15:07:01 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 91065 invoked by uid 500); 4 Jun 2014 15:07:01 -0000 Mailing-List: contact issues-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list issues@cordova.apache.org Received: (qmail 91057 invoked by uid 99); 4 Jun 2014 15:07:01 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Jun 2014 15:07:01 +0000 Date: Wed, 4 Jun 2014 15:07:01 +0000 (UTC) From: "Alberto Pagliarini (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CB-6872) File plugin: wrong disk space available on iOS MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CB-6872?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alberto Pagliarini updated CB-6872: ----------------------------------- Affects Version/s: 3.4.0 > File plugin: wrong disk space available on iOS > ---------------------------------------------- > > Key: CB-6872 > URL: https://issues.apache.org/jira/browse/CB-6872 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin File > Affects Versions: 3.4.0 > Reporter: Alberto Pagliarini > > I have some issue on iOS trying to allocate more than 140 Mbytes with FIle plugin. I have an iPad 16 Giga with 10 Giga free on device but a QUOTA_EXCEEDED_ERR was thrown > Here the code > {code} > var requestBytes = 150 * 1024 * 1024; > window.requestFileSystem(LocalFileSystem.PERSISTENT, requestBytes, function(fs) { > // success callback > }, function (e) { > // error callback > }); > {code} > I see that the free space calulated in {{requestFileSystem}} method of *CDVFile.m* results always about 144 Mbytes. > Link to thread on google groups > https://groups.google.com/d/msg/phonegap/0er5Gp2c-gQ/bTvh15z24AkJ -- This message was sent by Atlassian JIRA (v6.2#6252)