Skip to content

Possible GPU memory leak #8988

Closed
Closed

Description

@neewbee

One-line summary [问题简述]

GPU memory grows rapidly when scatterGL reload

Version & Environment [版本及环境]

  • ECharts version [ECharts 版本]: 4.1.0
  • Browser version [浏览器类型和版本]: chrome 68.0.3440.106(正式版本) (64 位)
  • OS Version [操作系统类型和版本]: window10 64

Expected behaviour [期望结果]

not growing?

ECharts option [ECharts配置项]

option = {
  backgroundColor: '#000',
  title: {
    text: '10000000 GPS Points',
    left: 'center',
    textStyle: {
      color: '#fff'
    }
  },
  geo: {
    map: 'world',
    roam: true,
    label: {
      emphasis: {
        show: false
      }
    },
    silent: true,
    itemStyle: {
      normal: {
        areaColor: '#323c48',
        borderColor: '#111'
      },
      emphasis: {
        areaColor: '#2a333d'
      }
    }
  },
  series: [{
    name: '弱',
    type: 'scatterGL',
    progressive: 1e6,
    coordinateSystem: 'geo',
    symbolSize: 1,
    zoomScale: 0.002,
    blendMode: 'lighter',
    large: true,
    itemStyle: {
      color: 'rgb(20, 15, 2)'
    },
    postEffect: {
      enable: true
    },
    silent: true,
    dimensions: ['lng', 'lat'],
    data: new Float32Array()
    // data: []
  }]

Other comments [其他信息]

image

http://111.231.57.117:8080/ scatterGL
http://111.231.57.117:8081/ scatter
or
http://echartsjs.com/examples/editor.html?c=scatterGL-gps&gl=1

trace file
chrome://tracing/
trace_tracing.json.gz

Activity

  1. Ovilia commented on Aug 31, 2018

    @Ovilia
    Contributor

    Possible duplicate of #7237

  2. added
    pending
    on Aug 31, 2018
  3. neewbee commented on Aug 31, 2018

    @neewbee
    Author

    Also using appendData with scatterGL will cause the first chunk data fail to render.

    http://www.echartsjs.com/examples/editor.html?c=scatterGL-gps&gl=1

    image

  4. yeongren commented on Aug 31, 2018

    @yeongren

    Also, I believe this is the same issue.

    #7002

  5. ergouser commented on Jan 8, 2020

    @ergouser

    @neewbee Can you please retest against the latest (4.6) and report any issues. The example in #7002 is not showing noticeable memory growth.

  6. trannamquan commented on Jun 22, 2020

    @trannamquan

    I also faced this in Echarts 4.7. How can I solve this?

  7. github-actions commented on Jun 22, 2022

    @github-actions
    Contributor

    This issue has been automatically marked as stale because it did not have recent activity. It will be closed in 7 days if no further activity occurs. If you wish not to mark it as stale, please leave a comment in this issue.

  8. added
    stale
    on Jun 22, 2022
  9. github-actions commented on Jun 29, 2022

    @github-actions
    Contributor

    This issue has been automatically closed because it did not have recent activity. If this remains to be a problem with the latest version of Apache ECharts, please open a new issue and link this to it. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

pendingstale

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions