Websql cache size on iOS
Asked Answered
T

0

6

We've developed an app for iPad (using Sencha Touch and Phonegap) that stores data locally using websql db. Thousands of records are inserted in db during synchronization, but sometimes the app crashes in the middle of the process due high memory use. Running the app, Xcode Instruments tool shows about 80mb of memory allocated by "VM: SQLite page cache". The question is: Is there any way to clear this "page cache", or close the connection with db? I've read some threads about pragmas for setting cache size in SQLite, but I didn't find a way to do this with websql db.

Torch answered 16/11, 2013 at 21:5 Comment(2)
possible duplicate of HTML5 Web SQL Database ConcernsPoore
And also this one: #19134559Butane

© 2022 - 2024 — McMap. All rights reserved.