Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Memory leak keeps growing when mounting / unmounting elements #19

Open
AlexAtlas opened this issue Sep 27, 2023 · 1 comment
Open

Memory leak keeps growing when mounting / unmounting elements #19

AlexAtlas opened this issue Sep 27, 2023 · 1 comment

Comments

@AlexAtlas
Copy link

Hi, I was running this repo and playing around with the widgets demo, and I noticed that when I was mounting / unmounting elements ( opening and closing elements like the calendar / colour picker), the amount of memory leak kept growing and growing ? this seems like a big issue ? is this a known issue and can it maybe get fixed by altering the reconciler file ?

Steps to reproduce.

  1. run the widget demo.

  2. Close the demo immediately

  3. check the memory leak log

  4. run the widget demo again

  5. repeatedly open and close the colour picker

  6. Close the demo.

  7. See that the memory leak / in blocks has increased
    image

@derekstavis
Copy link
Collaborator

I spent quite some time trying to trace down some of these leaks but I haven't been able to find them. I can take a look at the calendar implementation, but if you'd like to help identifying all the leaks, building a demo that helps to test and isolate leaks would be welcome

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants