QuotaExceededError on tablet

Hi,

I recently upgraded to v2.

It all seems to work OK in my main (Firefox-ish) browser, but on my ChromeOS tablet using Chrome it fails. It can kindof manage to load the one page I direct it to, but no burger menu appears, none of the space-lua seems to run, sync is at -488 (a minus number for syncing doesn’t feel good), and the browser console has a number of 'QuotaExceededError’s, like:

Interval sync error: QuotaExceededError
QuotaExceededError

This is the normal (non-android) edition of Chrome v137.

QuotaExceededError seems to be related to localStorage - is my v2 instance now doing something that’s too big for my localStorage?

Many thanks,

Geoff

That’s bad

Don’t know about the error right now, but there has been a discussion about storage space

Thanks for that.

I guess my perspective/use-case is the reverse of 'DevGiu’s - I only ever want to load and save pages from the server, and I don’t need/want offline access.

Some more information based on that thread though:

I couldn’t add ${js.window.navigator.storage.estimate()} to a page to see what it said (the table isn’t running space-lua) but I was able to run this snippet from that thread in a console:

navigator.storage.estimate().then(({ usage, quota }) => {
  console.log(`Used: ${(usage / 1024 / 1024).toFixed(2)} MB`);
  console.log(`Quota: ${(quota / 1024 / 1024).toFixed(2)} MB`);
  console.log(`Usage percentage: ${((usage / quota) * 100).toFixed(2)}%`);
});

On my tablet (with the QuotaExceededErrors) it returned:

Used: 299.55 MB
Quota: 322.19 MB
Usage percentage: 92.97%

And here are some details on my space:

$ find data -iname “*.md” -print | wc -l
2440
$ du -hs data
301M data

Most of the data is binary blobs though.

It may really make sense to add an option to only sync pages and not binary files. It’s been on my mental todo list for a while.

2 Likes

Thanks for the response. Syncing only pages would be very handy for my use case! I’m sorry I don’t have the knowledge (yet) to implement this bit.