[Webkit-unassigned] [Bug 31791] New: localStorage quota exceeded

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Nov 22 16:00:34 PST 2009


https://bugs.webkit.org/show_bug.cgi?id=31791

           Summary: localStorage quota exceeded
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Mac OS X 10.5
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: New Bugs
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: bedney at technicalpursuit.com
                CC: jorlow at chromium.org


Folks (esp. Jeremy ;-) ) -

I'm having trouble with having localStorage exceed its quota storage in the
latest versions of Webkit.

I am storing a total of two key/value pairs into localStorage, let's call them
'foo' and 'bar' (I can give you the actual key names, if you want).

'foo' has a data block with a total of 2585125 characters, so slightly more
than 2.5M bytes.
'bar' has a data block with a total of 90482 characters, so slightly more than
90K bytes.

So let's call the total around 2.6MB, well below the default storage quota of
5MB.

I'm noticing this on Webkit nightly build 51280 / Mac.

I'm also noticing this on Chrome/Mac and Chrome/Windows, both at version
4.0.249.4 (I'm on the 'developer channel').

I'm *not* noticing this bug on Safari/Mac 4.0.4 and Safari/Windows 4.0.4, which
leads me to think that it's a regression, maybe as a result of fixing:

https://bugs.webkit.org/show_bug.cgi?id=31451

???

Not sure. In any case, 2.6MB is nowhere close to the default quota of 5MB, so
it leads me to think that something strange is going on here. I noticed by
poking around inside of the SQLite file that Webkit generates an index on this
data. Could this be a problem where you don't have many keys (in this case a
total of 2), but the data being stored is large? I'm not a DB guy, so I don't
know.

Thanks in advance!

Cheers,

- Bill

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list