You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
We have a dashboard in our Web Application showing different kind of data using ApexChart. The user can use an "Auto Refresh" function, where the server uses Vaadin's UI push mechanism to update the web view (based on a user defined interval).
When I look at Chrome Dev Tools -> Memory Total JS Heap Size, I can see that it is increasing from 15.3 MB to 28.1 MB in 2 minutes (push interval every 2 seconds). The memory is constantly increasing until Chrome reports an out of memory on the page.
I'm using Bar and Pie charts. The memory consumption is not related to any data. Even when the data isn't changing in-between the push intervals, more and more memory is consumed.
Note: if I don't use any ApexChart in the dashboard, the memory is not increasing
I also checked, it does not make any difference if
each time to create a new chart, or
each time update the series from an existing chart
Steps or code example to Reproduce
Create a newScheduledThreadPool(1) and scheduleAtFixedRate with 2 seconds
in the thread's runnable method, create a new chart or update the chart's series and use UI's push method
Observe the memory consumption
**Desktop **
Windows 10
Chrome 104.0.5112.81 (Official Build) (64-bit)
2.0.0-beta13
Vaadin 14.7.5
Vaadin Production Mode
Spring Boot v2.5.5
The text was updated successfully, but these errors were encountered:
Description
We have a dashboard in our Web Application showing different kind of data using ApexChart. The user can use an "Auto Refresh" function, where the server uses Vaadin's UI push mechanism to update the web view (based on a user defined interval).
When I look at Chrome Dev Tools -> Memory Total JS Heap Size, I can see that it is increasing from 15.3 MB to 28.1 MB in 2 minutes (push interval every 2 seconds). The memory is constantly increasing until Chrome reports an out of memory on the page.
I'm using Bar and Pie charts. The memory consumption is not related to any data. Even when the data isn't changing in-between the push intervals, more and more memory is consumed.
Note: if I don't use any ApexChart in the dashboard, the memory is not increasing
I also checked, it does not make any difference if
Steps or code example to Reproduce
**Desktop **
The text was updated successfully, but these errors were encountered: