Skip to content

Suspected memory leak #319

@marcdumais-work

Description

@marcdumais-work

Bug Description:

While working on the pixi.js-legacy upgrade (#317 ), I noticed Jest reporting a potential memory leak:

Image

I investigated using the theia-trace-extension example application, producing heap snapshots, and noticed that opening and closing trace views / trace experiments, results in an evrer-growing heap usage (even after manually triggering garbage collection).

See below for a screen capture - a "diff" between two heap snapshots, between which I opened and closes several trace views. The "detached" DOM objects seem to be related to timeline chart / pixi (e.g. WebGL canvas):

Image

Steps to Reproduce:

Additional Information

  • Operating System:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions