155
Views
9
Comments
Solved
Failed to execute 'setItem' on 'Storage'

Hi guys,

I have an issue when loading application, browser show an error : Failed to execute 'setItem' on 'Storage' : Setting the value of '$Isdemo' exceeded the quota.  $Isdemo is a client variable and boolean type.  I have some question:

- The module is reactive web module and  have lots of client varibale. In the context , do 'Storage'  mean "Local Storage" ? If not, what kind of  "Storage" in this context ?

- where do "Client variables" store value in browser ?

pls help me answer the question above. Many Thanks

2020-11-25 10-45-32
Mostafa Othman
Champion
Solution

Hello Mike,

- Regarding storage it means local storage of your browser

- all client variables saved into local storage of browser

Can you try to clear local storage and run you application again?

You can do this by press F12 to open developer tools of your browser then go to application tab. You will find local storage then find your application local storage right click and select clear as screenshot below for chrome.

2024-08-30 07-01-53
Mike Hiew

Thanks

2019-06-17 11-18-07
Dmitrii Lubenskii

Unfortunately, it is not a solution, because end users must not see the error at all. End user should not call to a support and get instructions to clean up browser data.

2020-11-25 10-45-32
Mostafa Othman
Champion
2025-02-10 17-24-13
Arun Rajput

Hi @Mike Hiew 

Can you please check this client variable is using in any jQuery code

As I can see $ symbol with variable name.

It might be possible this error coming from any jQuery code.

Thanks

Arun

2024-08-30 07-01-53
Mike Hiew

Thanks

2020-11-25 10-45-32
Mostafa Othman
Champion
Solution

Hello Mike,

- Regarding storage it means local storage of your browser

- all client variables saved into local storage of browser

Can you try to clear local storage and run you application again?

You can do this by press F12 to open developer tools of your browser then go to application tab. You will find local storage then find your application local storage right click and select clear as screenshot below for chrome.

2024-08-30 07-01-53
Mike Hiew

Thanks

2019-06-17 11-18-07
Dmitrii Lubenskii

Unfortunately, it is not a solution, because end users must not see the error at all. End user should not call to a support and get instructions to clean up browser data.

2020-11-25 10-45-32
Mostafa Othman
Champion
UserImage.jpg
Muhammad Sani Mohd Nor

Dear Mostafa Othman,

I have same problem at application user side. Every time user happen this issue need to clear "client storage"? Do you have permanent solution to developer outsystem handle this situation and user no need to clear storage manually?

Regards,

Sani 

2020-11-25 10-45-32
Mostafa Othman
Champion

Hello,

This issue in case its related to Google Chrome so its allowing only 10 MB per domain as local storage.

So I recommend that you start reviewing your client variables again (type and size) and try to remove ones that are not mandatory or may be not used then check used one if you can replace for example multiple client variables with only one that will be identifier that you can use to retrieve other values from database.

One of the options to create temp table and save values into that table and just saving Id to client variable then in screens using these data you can fetch them from this temp table 

2019-06-17 11-18-07
Dmitrii Lubenskii

The thing is that there is no custom local storage items or client variables. There are only OS data. That is why it is not a solution.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.