litehelpers / Cordova-SQLitePlugin-legacy-WP-broken-bug666

This version is no longer supported, see Cordova-sqlite-legacy-build-support. May be affected by data risk in litehelpers/Cordova-sqlite-storage#666.
4 stars 8 forks source link

OOM - Out of memory exception #2

Open gabrielmuresan opened 10 years ago

gabrielmuresan commented 10 years ago

While trying to retrieve results ~14 000 in number with a query like (SELECT * FROM tableName) I get an OOM exception at toJSONString() in PluginResult.cs.

the strange think is that it actually gets the results,~8mil character long string, but when it tries to add the status, the keepCallback and the message together plus the "{" and "}" that's when the error is thrown.

Any suggestion on how should I approach this without modifying the queries in use?