I am experiencing a critical memory leak issue when trying to access https://apexcharts.com/javascript-chart-demos/
I'm using Firefox Developer Edition 62.0b15 (64-bit), on Debian 9.5 "Stretch".
Here is a video proof (youtube link). You can clearly see the CPU going crazy at around 15 to 20 seconds in the video, only a few moments after loading the page. Then, the memory starts filling up rapidly, eventually eating through swap space, at that point i have no choice but to kill Firefox to keep my system stable.
I do have a few addons installed on the browser, but i do not believe that they have any impact on the issue.
Is anyone able to reproduce this behavior?
Yup, tried on two computer, RAM usage gone wild, had to restart my PC. Tried on Firefox Linux and Chrome Windows.
Is anyone able to reproduce this behavior?
Yes, same issue here. Firefox 62.0b15 (64-bit) _(non-developer)_ on Ubuntu 16.04.5 64bit
@GitSquared
Confirmed the bug.
The memory leak is due to the mixed chart. I disabled each chart one by one and disabling mixed charts made the page responsive. Otherwise, my firefox was also crashing every time I loaded the demo page.
I will investigate the mixed chart rendering, thanks for reporting. Looks like combining all three types - area/line/column doesn't works at the moment for firefox.
You can check the demo page now and see if it still crashes.
@junedchhipa It's working for me now. Thanks for the quick response. Closing.
@junedchhipa Dashboard demo has the same problem
@arkhenstone I will check the Dashboard too. Combo chart (line/area/column) seems the main culprit. I will try to fix it quickly so I don't have to go to each and every place to disable Mixed Charts ;)
uh... actually, https://apexcharts.com/javascript-chart-demos/heatmap-charts/ has this issue too... So yeah, i think it's in the lib. @junedchhipa I'm reopening and i'll let you close when you fix the "upstream" issue.
Ah! ok. No worries, keep it open. I need to do some more testing on firefox, I guess.
I believe @arkhenstone reported this issue to also happen in Chrome, nah?
Tried on Firefox Linux and Chrome Windows.
Is this still true or is this issue Firefox-specific?
Ah! right. If the same problem persists in Chrome as well, then this is not browser specific. Reverting title change
I have fixed the issues which were crashing Firefox when viewing demo pages.
@arkhenstone can you please test the demo page as well as the dashboards?
@GitSquared can't reproduce the "heatmap" issue in firefox/chrome. Can you please test again and if error persists, give more info?
Thanks
@junedchhipa Everything's working all right. Tested pretty much every link accessible from the demo homepage. :+1: