Skip to content

Investigate potential memory leak #585

@techniq

Description

@techniq
  • Open streaming example
  • Click Load more on page
  • Open DevTools
  • Take heap snapshot on Memory tab
  • Click Load more on page
  • Take heap snapshot on Memory tab
  • Click on Snapshot 2 and filter Objects retained by detached DOM nodes
  • See also Objects allocated between Snapshot 1 and Snapshot 2

Image

Also, open Performance monitor and click Start on page to stream data and watch the fluctuations on JS heap size (with GC kicking in, but still a general upward trend). More notable, see the large / consistent increase in DOM nodes .

Image

See discussion


Investigated streaming performance a few weeks ago when using Canvas and substantially improved the issue, but wasn't able to 100% resolve the issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions