{"action":"created","issue":{"url":"https://api.github.com/repos/pouchdb/pouchdb/issues/3505","labels_url":"https://api.github.com/repos/pouchdb/pouchdb/issues/3505/labels{/name}","comments_url":"https://api.github.com/repos/pouchdb/pouchdb/issues/3505/comments","events_url":"https://api.github.com/repos/pouchdb/pouchdb/issues/3505/events","html_url":"https://github.com/pouchdb/pouchdb/issues/3505","id":56688542,"number":3505,"title":"There was not enough remaining storage space in Cordova App","user":{"login":"ScreenDriver","id":149248,"avatar_url":"https://avatars.githubusercontent.com/u/149248?v=3","gravatar_id":"","url":"https://api.github.com/users/ScreenDriver","html_url":"https://github.com/ScreenDriver","followers_url":"https://api.github.com/users/ScreenDriver/followers","following_url":"https://api.github.com/users/ScreenDriver/following{/other_user}","gists_url":"https://api.github.com/users/ScreenDriver/gists{/gist_id}","starred_url":"https://api.github.com/users/ScreenDriver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ScreenDriver/subscriptions","organizations_url":"https://api.github.com/users/ScreenDriver/orgs","repos_url":"https://api.github.com/users/ScreenDriver/repos","events_url":"https://api.github.com/users/ScreenDriver/events{/privacy}","received_events_url":"https://api.github.com/users/ScreenDriver/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2015-02-05T15:58:02Z","updated_at":"2015-02-07T20:45:32Z","closed_at":"2015-02-07T20:45:32Z","body":"I am using Apache Cordova to build my app. I installed PouchDB and, as explained [here],(http://pouchdb.com/adapters.html) added the SQLite Plugin.\r\nNew instances of PouchDB will be created with \r\n\r\n```javascript\r\nnew PouchDB('myDB', {adapter: 'websql', size: 10});\r\n```\r\n\r\nUnfortunately I get a error if I made some batch (bulk) inserts:\r\n \r\n```\"there was not enough remaining storage space, or the storage quota was reached and the user declined to allow more space\"```\r\n\r\nI can increase the limit how much I like, it seems to be ignored. I've tested it with a some mock JSON objects with the same size. The first inserts run fine and then when I reach the limit I get this error message. If I increase the size, nothing happens and I still get immediately this exception.\r\n\r\nCould it be that the size parameter will be ignored? Or does PouchDB don't use the natively installed SQLite Plugin?"},"comment":{"url":"https://api.github.com/repos/pouchdb/pouchdb/issues/comments/73382211","html_url":"https://github.com/pouchdb/pouchdb/issues/3505#issuecomment-73382211","issue_url":"https://api.github.com/repos/pouchdb/pouchdb/issues/3505","id":73382211,"user":{"login":"daleharvey","id":37787,"avatar_url":"https://avatars.githubusercontent.com/u/37787?v=3","gravatar_id":"","url":"https://api.github.com/users/daleharvey","html_url":"https://github.com/daleharvey","followers_url":"https://api.github.com/users/daleharvey/followers","following_url":"https://api.github.com/users/daleharvey/following{/other_user}","gists_url":"https://api.github.com/users/daleharvey/gists{/gist_id}","starred_url":"https://api.github.com/users/daleharvey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daleharvey/subscriptions","organizations_url":"https://api.github.com/users/daleharvey/orgs","repos_url":"https://api.github.com/users/daleharvey/repos","events_url":"https://api.github.com/users/daleharvey/events{/privacy}","received_events_url":"https://api.github.com/users/daleharvey/received_events","type":"User","site_admin":false},"created_at":"2015-02-07T20:45:32Z","updated_at":"2015-02-07T20:45:32Z","body":"Fixed in https://github.com/pouchdb/pouchdb/commit/7a7ee7d1dcad2ddfb79baaf4bc00b7d3551df8c4"}}