Help with Apex Charts Memory Issue

Below is the code for my apex charts and as soon as i define Graph_span it causes my HA page to crash stating no memory or the page just slows down to the point i have edit the address bar then quick get to the raw config to update the apex yaml.

Thoughts or what to look for?

type: custom:apexcharts-card
update_interval: 1d
graph_span: 4d
cache: true
header:
  show: true
  title: ApexCharts-Card
  show_states: true
  colorize_states: true
series:
  - entity: sensor.energy_retailer_total_daily_net_power_energy_cost
    name: Daily Net Costs
    type: line
  - entity: sensor.home_assistant_calculated_daily_net_energy
    name: Daily Net Energy
    type: column
    group_by:
      duration: 1d   

I have the same issue since HA 2024.2. Before that, memory was no issue. See: