Skip to content

LocalStorage limit prevents KomMonitor to load mass data #92

Description

@hueffy

Dear developers of KomMonitor.,

we face a problem while handling 1000+ indicators with data.
The DataManagement API & Importer API successfully import all the (meta)data in the database, but then the WebClient UI freezes (spinning loading indicator). We tested up to 3000 indicators. In the future it will be over 6000.
Some browsers/clients might work, but others don't. We have deleted the LocalStorage, Cache and so on, but the problem still exists.

Version: 4.3.3 and probably Version 5 too

Component: WebClient

Error:

kommonitor-client.min.js:3 Uncaught (in promise) QuotaExceededError: Failed to execute 'setItem' on 'Storage': Setting the value of 'kommonitor-unique-instanceName_lastModification_indicators_metadata_kommonitor-creator' exceeded the quota.
    at kommonitor-client.min.js:3:3995
    at angular.min.js:1:63756
    at f.$digest (angular.min.js:1:69345)
    at f.$apply (angular.min.js:1:71277)
    at angular.min.js:1:47752
    at v (angular.min.js:1:49233)
    at x.onload (angular.min.js:1:49660)

Effects: No usage of KomMonitor with mass data possible

Solution: Temporary limit the number of indicators. For next releases implement IndexDB instead of LocalStorage, which supports more than just 5 MB.

Has anyone else these problems?

Best regards
Daniel Hüffmeier
Geodatenmanagement Kreis Herford

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions