SmartBigFeng opened a new issue, #21383: URL: https://github.com/apache/echarts/issues/21383
### Version 5.6.0 ### Link to Minimal Reproduction https://jsfiddle.net/wangfengCode/fm6ucqxp/ ### Steps to Reproduce 1、打开网址下载到本地并在浏览器运行chrome、edge均可 2、打开控制台切换至内存tab标签 3、每隔几分钟点击录制按钮,查看快照内存大小(可以穿插点击垃圾回收按钮) 内存在一直增大 隐私模式下,共计运行约5分钟 <img width="1065" height="821" alt="Image" src="https://github.com/user-attachments/assets/74caf75a-7d3a-4e8c-900f-a00135c01fc5" /> 常规模式下,共计运行约5分钟 <img width="863" height="808" alt="Image" src="https://github.com/user-attachments/assets/4fc7ae7b-3bc2-4eab-bc93-fa4ed8f00785" /> ### Current Behavior 在仅绘制一个图表且使用原生JS无响应式包装的前提下,隐私模式下内存五分钟上涨了接近5M,中间点击过几次垃圾回收按钮,而真实项目需求为多个图表,推送数据更多更频繁,线上环境出现过内存溢出最后崩溃的问题。 ### Expected Behavior 当前怀疑是setOptions可能存在潜在的内存泄露,希望官方人员进行排查并进行问题修复。 ### Environment ```markdown - OS:Windows 11 - Browser:Chrome 142.0.7444.176 Edge142.0.3595.80 - Framework:Vue@3 ``` ### Any additional comments? #20151 曾提及过此类问题且已经进行了修改,但后续仍有人提及setOption可能存在内存泄漏 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
