Loading ...
Sorry, an error occurred while loading the content.

IndexedDB Quotas in Windows 8 Apps

Expand Messages
  • Zia Khan
    IndexedDB Quotas and Other Details Hopefully, the sample scenario here has provided some insight into how you might leverage IndexedDB in your own
    Message 1 of 1 , Jan 29, 2013
    • 0 Attachment
      IndexedDB Quotas and Other Details
       
      Hopefully, the sample scenario here has provided some insight into how you might leverage IndexedDB in your own applications, games or otherwise. Keep in mind that it is just one of several storage options for JavaScript Windows Store applications, and each has its own unique characteristics and constraints. For IndexedDB in particular note:
      • IndexedDB is implemented via an Extensible Storage Engine (ESE) database which uses ISAM storage semantics and runs in a separate process, communicating with your application via RPC.
      • The databases managed by the application can only be removed if the application exposes that functionality or if you uninstall the application from your machine.
      • Each Windows Store application has a quota of 250MB of IndexedDB storage that it can access; furthermore, IndexedDB across all Windows Store applications combined is limited to
        • 375MB if the hard drive of the device is less than 30GB; otherwise,
        • 4% of the disk size or 20GB, whichever is smaller
      • Note too there is no API to determine how much space remains, so you need to code defensively by handling the quotaExceededError exception.

       

      http://blogs.msdn.com/b/jimoneil/archive/2012/09/24/using-indexeddb-in-your-windows-8-game.aspx

    Your message has been successfully submitted and would be delivered to recipients shortly.