Hello, @omunyao welcome back to the CoP! To start with, I would like to ask you to post what version of DHIS2 are you using? Additionally, the version of Tomcat and Java?
Before we try to get into the logs and configurations, since you are using java 8 then I’d recommend you update to Java 11. For its importance please see the instructions from @bobj in this qoute (from another topic). After that if you still see the same issue then please post the log (without sensitive info):
We just came across the same problem today (DHIS 2.36.6).
Apparently, it’s related to the 5MB localStorage per-domain limit set by browsers. Firefox has a configurable setting (about:config → dom.storage.default_quota) to customize that limit - once increased, the error goes away. Chrome does not have a configurable setting, AFAIK.
The data being stored is the response of /dhis-web-dataentry/getMetaData.action, which grows with the number of data sets.
The DHIS2 team could provide a better solution for this, but, as a mitigation measure, try to reduce the number of data sets that the user has access to.
To clarify, this has nothing to do with Java nor the backend, so changing Java versions or heap space won’t have an impact. This is related to how much data you can store in the local store of the web browser.
When loading data entry module, DHIS 2 will load a lot of metadata over to the browser for offline functionality purposes, in particular if you have many org units and many heavy data set forms.
A work-around is to to go to Apps > Maintenance > Org unit levels, and for the higher levels (Global, National, Province) set the max number of org units levels to something like 2. This will make sure only org units for the given number of levels relative to the user org unit will be loaded.