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 execute 'setItem' on 'Storage': Setting the value of 'docsify.search.index' exceeded the quota. #1538

Open
1 task
wellcomez opened this issue Mar 11, 2021 · 1 comment · May be fixed by #2464

Comments

@wellcomez
Copy link

Bug Report

Uncaught DOMException: Failed to execute 'setItem' on 'Storage': Setting the value of 'docsify.search.index' exceeded the quota.

Steps to reproduce

All documents size exceeds 400MB . exceeded the quota error will occur

What is current behaviour

JSON.stringify(INDEXS).length
14474634

What is the expected behaviour

You can compact storage

Other relevant information

  • Bug does still occur when all/other plugins are disabled?

  • Your OS:

  • Node.js version:

  • npm/yarn version:

  • Browser version:

  • Docsify version:

  • Docsify plugins:

Please create a reproducible sandbox

Edit 307qqv236

Mention the docsify version in which this bug was not present (if any)

@Koooooo-7
Copy link
Member

yea,AFAIK there is an issues about the LocalStorage limitation( about 5MB), we will refine it in future.
related #1400

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

Successfully merging a pull request may close this issue.

2 participants