Closed ganeshmogare closed 6 years ago
Is this on Android or iOS? Either way, it seems this could probably be fixed by changing the batch size in PouchDB/CouchDB. If your documents are very large then it could cause OOM (Out Of Memory) errors.
Please reopen if I diagnosed incorrectly, thanks for reporting.
seems to be a duplicate of https://github.com/nolanlawson/cordova-plugin-sqlite-2/issues/45#issuecomment-422217387
Issue Hello , When i sync data from couchdb to pouchdb , first time it will work fine , but when close the app and relaunch , app will throw the following error
WebSQL threw an error Error: Failed to allocate a 56000520 byte allocation with 25165824 free bytes and 49MB until OOM, max allowed footprint 174396912, growth limit 201326592
Please note thet i'm using
cordova-plugin-sqlite-2
Info Environment: Nodejs/Angularjs Platform:Cordova Android Adapter: pouchdb-adapter-cordova-sqlite Server: CouchDB Plugin : cordova-plugin-sqlite-2