当サイトはユーザー体験を改善するためのメンテナンスを実施中に機能が制限される予定です。記事を読んでもあなたの問題が解決せず質問をしたい場合は、Twitter の @FirefoxSupport、Reddit の /r/firefox で、サポートコミュニティが皆さんを助けようと待機しています。

Mozilla サポートの検索

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

詳しく学ぶ

このスレッドはアーカイブに保管されました。 必要であれば新たに質問してください。

What is the storage limitation for "indexDB" in Firefox 4?

  • 5 件の返信
  • 10 人がこの問題に困っています
  • 1 回表示
  • 最後の返信者: the-edmeister

more options

What is the storage limitation for "indexDB" in Firefox 4?

I need to know because I am writing an application with significant local storage requirements.

More then the 5 mb limit in the Local Storage API.

Your response is appreciated.

Thanks, David

'''What is the storage limitation for "indexDB" in Firefox 4?''' I need to know because I am writing an application with significant local storage requirements. More then the 5 mb limit in the Local Storage API. Your response is appreciated. Thanks, David

選ばれた解決策

If the user grants permission for a site to exceed the 50 MB IndexedDB quota, then as far as I know Firefox does not impose any more limits. The only limits on the size of the IndexedDB database will be the user's disk space and operating system.

The localStorage quota is 5000KB, and there is no way for a web site to ask the browser for permission to store more than that amount in localStorage.

この回答をすべて読む 👍 2

すべての返信 (5)

more options

By default in Firefox 4, a site can use up to 50MB of IndexedDB storage. If it tries to use more than 50MB, Firefox will ask the user for permission: http://mxr.mozilla.org/mozilla-central/source/modules/libpref/src/init/all.js#101

In Firefox for mobile devices (Google Android and Nokia Maemo), Firefox will ask for permission if a site tries to use more than 5MB: http://mxr.mozilla.org/mozilla-central/source/mobile/app/mobile.js#571

more options

Thanks, this is great to know. A few more questions, if possible.

Will Firefox ask for permission if a site tries to use more than 5MB of "LocalStorage API"? Or is LocalStorage API strictly restricted to 5MB?

What are the maximum limits of local storage and indexDB storage, after getting all the permissions ? Can I put 4 gig in localstorage? in indexDB?

Thanks again for the great info! David

more options

選ばれた解決策

If the user grants permission for a site to exceed the 50 MB IndexedDB quota, then as far as I know Firefox does not impose any more limits. The only limits on the size of the IndexedDB database will be the user's disk space and operating system.

The localStorage quota is 5000KB, and there is no way for a web site to ask the browser for permission to store more than that amount in localStorage.

more options

Hello, I'm using indexedDB, and when store more then 50mb, after that can't delete or clear that object store, just got an error without any more information why is error ocured.

more options

neemanjabuge started a thread here:
https://support.mozilla.com/en-US/questions/837358