Skip to content

memory leaks in composite line chart #1289

@gordonwoodhull

Description

@gordonwoodhull

This question shows an example of memory usage appearing to rise over time and eventually crashing the browser:

http://stackoverflow.com/questions/42885065/dc-js-redraw-with-updated-data-makes-memory-rising

The fiddle is here: https://jsfiddle.net/pbs06zp6/

It appears to be linked to chart.redraw() and in a preliminary investigation, it seemed that the memory leak may have to do with transitions. I'm new to this side of the Chrome developer tools, so I'm not sure if I'm interpreting the results correctly, but turning off transitions did seem to keep memory usage stable in a brief test.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions