Skip to content

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

Closed
@wellcomez

Description

@wellcomez

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)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions