Skip to content

Memory leaks while load new forms #485

Closed
@asednev

Description

@asednev

I discovered that Schema Form leaks memory. This might be similar to #200. Easiest way to reproduce the problem is to open demo.

  1. Go and open every single example available in drop down list. This should have loaded all possible templates and cached them.
  2. Capture heap size (20.4 Mb for me in Google Chrome)
  3. Repeat steps 1 & 2, notice heap size continues to grow 22.4 Mb, 24.9 Mb, 27 Mb, 29.1 Mb, and so on.

If you examine individual heap snapshots, it's evident that memory retained by "Detached DOM Tree" and number of objects keeps growing. Something is holding on to DOM Nodes. In a bigger application this starts causing problems real fast. I will appreciate any help in isolating and fixing this issue.

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