Open MyCupOfTeaOo opened 5 years ago
Hi! We've received your issue and please be patient to get responded. 🎉 The average response time is expected to be within one day for weekdays.
In the meanwhile, please make sure that you have posted enough image to demo your request. You may also check out the API and chart option to get the answer.
Have a nice day! 🍵
Please check if this has something to do with React. And provide a demo without React if not.
@Ovilia this is Pure HTML url Memory rose by 6 M in an hour
@tz310200 Thanks!
Is this a duplicate of/related to #7002?
A quick search suggests #9437 and #8988 are possibly related issues.
Is there an update or a milestone release for resolution of this issue (and the three related reports)?
This is not a "performance" issue, it's a critical issue that prevents production deployment of applications. Could we please mark it as such?
This issue is critical to all deployments of echarts. The only work-around is to periodically close out a browser completely, or reboot the whole computer system. It's most obvious in any application that dynamically refreshes charts and which is expected to run constantly, but ALL echarts applications are suffering because of these memory leaks. We committed to echarts expecting such a critical issue to be resolved fairly quickly, but #7002 was reported more than 2 years ago and there seems to be no progress.
Hi @ergouser Can you create a new issue and provide your reproducible demo to us? We can't reproduce the memory leak issue from the code in https://github.com/apache/incubator-echarts/issues/7002 and the link in this issue has been broken
您好@ergouser您可以创建一个新期刊并向我们提供可复制的演示吗?我们无法从#7002中的代码重现内存泄漏问题,并且此问题中的链接已损坏 sorry,I modified the username after posting this issues I have updated the new link address
@MyCupOfTeaOo Are you running into this issue in ECharts 5.x as well?
we do see a similar issue running echarts 5.0.2 in angular
We also experimented a bit with a line chart whose data changed dynamically every few seconds or so. Recorded the heap for 60-70 minutes. Heap size grew a bit initially but later decreased down too, so memory leaks (if any) didn't seem to be very worrisome. The same test with Vega library weren't encouraging, however.
cc @SumitNegi7 @saikat-samanta
Not only, but I can report that with line chart, even after refreshing the page, the old data doesn't get garbage collected. Calling instance.dispose()
doesn't help either. I'm on v5.4
Hi @ergouser Can you create a new issue and provide your reproducible demo to us? We can't reproduce the memory leak issue from the code in #7002 and the link in this issue has been broken 你不是在要demo,就是在要demo的路上
The full html is in #7002. That issue was reported 5 years ago against 3.x so may, or may not still exist. I haven't tested against later versions.
Any updates on the memory leaks? After many hours, my code will crash and it will give the typical "Javascript memory heap out of memory" error
Version
4.2.0-rc.2
Reproduction link
https://mycupofteaoo.github.io/echartHtmlDemo/
Steps to reproduce
online Code is here
What is expected?
normal
What is actually happening?
Memory continues to rise This is a screenshot of about 30 minutes.