QuotaExceededError using Ionic Storage with a few strings

懵懂的女人 提交于 2019-12-22 04:03:41

问题


I'm having this issue with Ionic Storage, this is the complete stack trace:

core.es5.js:1084 ERROR Error: Uncaught (in promise): QuotaExceededError: 
at c (polyfills.js:3)
at c (polyfills.js:3)
at polyfills.js:3
at t.invokeTask (polyfills.js:3)
at Object.onInvokeTask (core.es5.js:4140)
at t.invokeTask (polyfills.js:3)
at r.runTask (polyfills.js:3)
at o (polyfills.js:3)
at IDBTransaction.invoke (polyfills.js:3)

I'm using the settigs servis as recommended in Ionic super template.

this is happening testing on browser (Chrome)


回答1:


By chance, tonight I discovered that the hard disk of my windows PC was almost full, which was generating problems of virtual memory, and specifically in chrome problems with the local storage




回答2:


I had the same issue and discovered that my hard disk running short of space. Cleared the memory and it worked fine.




回答3:


Did you try this:

IonicStorageModule.forRoot({
  name: ‘__mydb’,
  driverOrder: [‘sqlite’, ‘websql’, ‘indexeddb’]
})


来源:https://stackoverflow.com/questions/45065299/quotaexceedederror-using-ionic-storage-with-a-few-strings

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!