You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@echarts.apache.org by GitBox <gi...@apache.org> on 2018/09/28 01:55:47 UTC

[GitHub] lQei commented on issue #7125: echarts动态数据+时间坐标轴 内存溢出,页面崩溃

lQei commented on issue #7125: echarts动态数据+时间坐标轴 内存溢出,页面崩溃
URL: https://github.com/apache/incubator-echarts/issues/7125#issuecomment-425295813
 
 
   您好,我们还在不断的测试,初步发现可能是多个地方都在占用内存,导致内存的占用和释放无法达到平衡。还在进一步测试中,如果有发现清晰的问题,会和沟通,还望不吝赐教。
   
   
   ------------------ 原始邮件 ------------------
   发件人: "harsima"<no...@github.com>;
   发送时间: 2018年9月27日(星期四) 下午2:35
   收件人: "apache/incubator-echarts"<in...@noreply.github.com>;
   抄送: "孟雷"<12...@qq.com>; "Mention"<me...@noreply.github.com>; 
   主题: Re: [apache/incubator-echarts] echarts动态数据+时间坐标轴 内存溢出,页面崩溃 (#7125)
   
   
   
    
   @pissang @leeight 还是之前的问题。
    当前Version & Environment:
    ECharts version [ECharts 版本]:4.1.0
    Browser version [浏览器类型和版本]:谷歌 68.0.3440.84(正式版本)
    OS Version [操作系统类型和版本]:win10 64位
    之前有看到有说:vue中,echarts初始化使用变量,不可在data中定义初始化(https://github.com/apache/incubator-echarts/issues/7234)。现在使用如下方式%E3%80%82%E7%8E%B0%E5%9C%A8%E4%BD%BF%E7%94%A8%E5%A6%82%E4%B8%8B%E6%96%B9%E5%BC%8F)
    
    依然存在很严重的内存泄露问题。
    1 当打开实时曲线时,只要定时器中的setOption执行,内存就会持续增加。当注掉此处时,其余代码保持不变,内存占用会稳定下来。
    2 还有一种情况是,不执行setOption时,不停的重新绘制曲线(获取不同时间段曲线的数据),重新绘制,也会导致内存快速的增加。
    3 测试了一种情况,定时器中setOption一直执行,但是里面的series下的data一直不变,这种情况,内存也会不停的增加。
    下面是正常执行实时曲线绘制时的分析截图:
    
    
     
   你好,请问解决这个问题了么?
    
   —
   You are receiving this because you were mentioned.
   Reply to this email directly, view it on GitHub, or mute the thread.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@echarts.apache.org
For additional commands, e-mail: dev-help@echarts.apache.org