Open
Description
Description
Updating an existing chart data series via DataSeries::add( item, true, true ), with Push enabled, causes a growing memory consumption - Chrome DevTools profiler suggests listeners are being added and not being cleaned up when the data points are shifted.
Expected outcome
Would expect memory to remain roughly constant as new data points are added
Minimal reproducible example
Steps to reproduce
Run the provided demo - in creates a chart with some settings ( similar to our production usage where we spotted the issue, in case the particular settings matter ), and sets a timer to update the chart once per second with new data. Shortening the interval will make the growth quite obvious:
Environment
Vaadin version(s): 23.5
OS: Linux
Browsers
Chrome