Open haolang opened 1 year ago
@haolang It seems you are not using English, I've helped translate the content automatically. To make your issue understood by more people and get helped, we'd like to suggest using English next time. 🤗
Is this JS heap you are referring to, in Chrome? Yes, it's rising by toggling "Dark Mode". But if let alone it goes steadily back to single-digit KB size. So it seems the browser GC is doing its job and freeing up memory. There would be a problem if memory is NOT cleared, no?
Is this JS heap you are referring to, in Chrome? Yes, it's rising by toggling "Dark Mode". But if let alone it goes steadily back to single-digit KB size. So it seems the browser GC is doing its job and freeing up memory. There would be a problem if memory is NOT cleared, no?
However, even if I trigger college garbage manually, the memory footprint will not go down.
sorry, I'm a newbie in performance issues and should not comment these questions. Was looking at the red numbers (size trend) 😓
Version
5.4.2
Link to Minimal Reproduction
https://echarts.apache.org/examples/zh/editor.html?c=heatmap-bmap
Steps to Reproduce
https://echarts.apache.org/examples/zh/editor.html?c=heatmap-bmap 可在官方百度地图热力图示例中重现,不断开关主题设置按钮(深色模式)total js heap size 会一直增长,造成内存泄漏。
Current Behavior
更新 option会造成 total js heap size 一直增长
Expected Behavior
更新 option, total js heap size 保持相对稳定
Environment
Any additional comments?
No response