4

Following this guide: https://developer.chrome.com/apps/offline_storage#asking_more

When I execute

navigator.webkitPersistentStorage.requestQuota(Number.MAX_SAFE_INTEGER, console.log.bind(console));

I receive output 10737418240 bytes (10.73GB), which is the calculated maximum size when using Temporary storage:

(available storage space + storage being used by apps) * .5

However, I did press OK to allow allocating more storage than that. So why don't I get the requested storage?

An application can have a larger quota for persistent storage than temporary storage, but you must request storage using the Quota Management API and the user must grant you permission to use more space.

dylanmensaert
  • 1,689
  • 5
  • 24
  • 39
  • Possible duplicate of [Cannot allocate more than 10GB of HTML5 persistent storage](http://stackoverflow.com/questions/32970971/cannot-allocate-more-than-10gb-of-html5-persistent-storage) – bummi Mar 22 '16 at 06:57

1 Answers1

1

I've got the same problem posted here Cannot allocate more than 10GB of HTML5 persistent storage Conclusion: maximum persistent storage quota is 10GB, and the documentation saying it's limited by user's free disk space is incorrect.

Community
  • 1
  • 1
Signum
  • 845
  • 1
  • 10
  • 33