Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught DOMException: Failed to read large IndexedDB value - Inside Android Chrome #467

Open
sebastorama opened this issue Dec 12, 2024 · 2 comments

Comments

@sebastorama
Copy link

Recently I'm getting this error:

Uncaught DOMException: Failed to read large IndexedDB value

Inside Chrome on Android Simulator. I tried also a service worker and give the same result. Works on iOS though. I cannot trace it back to any pglite version (I'm using latest 2.15), maybe a more recent Chrome version broke something?

@sebastorama
Copy link
Author

Done some testing, I manage to reproduce this on MacOS chrome, it happens when I'm nearing the storage quota of indexedDB. I noticed that the indexDB size only grows (even when I truncate / vacuum full all my tables, is there a way to sort of get back to the initial state without nuking indexDB?

@samwillis
Copy link
Collaborator

Hey @sebastorama

Sorry for being slow to get back to you, latter half of December + early January are always a little busy...

Did you try doing a VACUUM FULL? A normal VACUUM doesn't reclaim space.

https://www.postgresql.org/docs/current/sql-vacuum.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants