Apex Charts 'getting stuck' ervry couple of hours after working for weeks

I created an apex chart a couple of weeks ago and it has been working fine, until two days ago and now it locks up multiple times a day (circular updating ring in the to right corner. The same dashboard has multiple other cards that continue to update, some of which contain the same sensors.
How can I debug this?

What are you charting? How much data are you reporting on? Is your processor or memory overloading? Can you narrow down how much to report on? Are you hiding data that has been locked as part of the chart lookup process, so brings everything to a screeching halt? Are you getting too many data points to report on stored in your database? How large is your database? How much memory? What platform are you charting on?

Just line charting 5 values from a goodwe inverter on two axis.
Updating set to 30 seconds, chart rolls over after 24 hours.
Memory 45%, processor 55%

Is this the GoodWe inverter that only internally updates the sensor values every five to eight minutes, and you are polling it every 30 seconds, hoping to get more accurate data?

You may be suffering from data overload.

Which model GoodWe are we polling? How are you obtaining your data? SEMS website scraping, WiFi data packet interception, or RS485/MODBUS polling?

Do you need to know your data down to the millivolt and nanosecond granularitrity? Just because you can does not mean you should.

What device are you running HomeAssistant on? Processor speed and memory capacity please. How much space used for your database, and how much free?

This is the goodwe custom integration Version 0.9.9.30, logging a GW9.999K-EHA-G20. I see the data being updated every 5 seconds, so my choice of 20 seconds was an attempt to slow it down, I have no objection to slowing it down further.

HA is running on a Pi5, the display is via its HDMI using HAOSKiosk, which Glances indicates is the biggest user of both CPU and memory.