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
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.
Thanks
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.
Please check last reply of this post
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.
Arun
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
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
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.