LocalStorage Quota

Not reproducible Issue #15339542


Jan 5, 2018
This issue is public.
Found in
  • Microsoft Edge
Found in build #
Reported by 1 person

Sign in to watch or report this issue.

Steps to reproduce

Is it normal that Edge has only 64kb of Storage quota? 4kb in the InPrivate mode?

You can test it with this script:

for (var i = 0, data = "m"; i < 40; i++) {
try {
localStorage.setItem("DATA", data);
data = data + data;
} catch(e) {
var storageSize = Math.round(JSON.stringify(localStorage).length / 1024);
document.write(“<h1>LocalStorage Limit</h1>”);
document.write("LIMIT REACHED: (" + i + ") " + storageSize + “K”);

Or over this link:

I was trying to do something to store some images locally but it is impossible in this way…

64kb of web storage in the year 2018, really? The most browsers updated the space from 5MB to 10MB and Edge reduced the space from 5MB to 64kb?

I can accept it if in the documentation you write “only 64kb” but in the Edge documentation I can read 5MB. This should be the idea behind the localStorage, right?


0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “James M.”

    • Hello,

      Thank you for providing this information about the issue. After thorough testing, we are unable to reproduce this problem in Edge 16299. Please try clearing local storage in Edge and then run your repro test again.

      Best Wishes,
      The MS Edge Team

    • Microsoft Edge Team

      Changed Status to “Not reproducible”

    • Sad to hear it is only reproducible on my Edge browser.
      Also clearing the cache and removing everything (with F12) does not change it.

    • Microsoft Edge Team

      Changed Assigned To to “James M.”

    • I had same issue too but fixed by clearing “Cookies and saved website data” from settings (not F12).
      Seems like limit of local storage was browser-wide until clearing. If I had QuotaExceededError on one website then I was not able to add anything to local storage of any other website. After clearing “website data” I can’t reproduce it anymore. Now each website has its own limitation (about 5MB per website).
      I suppose it was a bug after some update or Edge has limitation of all local storages. For example browser-wide limitation is 100MB so only 20 websites can store 5MB of data but 21th website will get QuotaExceededError on try to save anything.

    You need to sign in to your Microsoft account to add a comment.

    Sign in