Skip to content

[Bug]: Memory leak in PlaceholderComponent #3234

@ntrotner

Description

@ntrotner

Package name

components

Package version

11.6

Reproduction steps

Use the placeholder component in combination with the rules engine.

Current result

Memory leak occurs, which leads to an excess of 6 mb (8-10%) that could be cleaned up from memory.
Before fix:

Image

After fix:

Image

Traces

Image

Image

Issue occurs exactly here:
components/src/tools/placeholder/placeholder.component.ts

Expected result

No memory leak :)

Additional comments

I will create a PR later with my findings

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions