bigfacewo opened a new issue #11312: 百度地图(bmap)存在内存泄漏的情况
URL: https://github.com/apache/incubator-echarts/issues/11312
 
 
   ### Version
   4.2.1
   
   ### Steps to reproduce
   
在单页面网页中,当我使用bmap显示图表后,切换到路由下的其他页面,该页面无其他内容,发现内存并没有降下去,来回切换,内存一直在涨,而我确实是调用了echarts.dispose()方法销毁了echarts实例的,是不是因为bmap的dispose未实现的原因?我在[代码中](https://github.com/apache/incubator-echarts/blob/fd064123626c97b36cbd6da1b5fc73385c280abd/extension/bmap/BMapCoordSys.js)
 第175行,看到 ```// TODO Dispose```,是否是这个原因导致的?
   
   ### What is expected?
   期望bmap使用的内存会被释放。
   
   ### What is actually happening?
   实际未释放。
   
   <!-- This issue is generated by echarts-issue-helper. DO NOT REMOVE -->
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org

Reply via email to