-
-
Notifications
You must be signed in to change notification settings - Fork 8.5k
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
The page has a memory leak when the page has svg components #8790
Comments
Memory leaks have been bothering us for a long time, and we finally found the cause |
In fact, in my project, the Dom node can be reclaimed after the svg component is removed, so I have provided a reproduced example based on the fact. The issue mentioned in #5363 has been fixed, it should not be the same as the issue I described. |
@Mario34 I tested #5363 and it was fixed, the reviews misled me. @Mario34 |
Vue version
3.3.4
Link to minimal reproduction
https://play.vuejs.org/#eNqNVFtv2jAU/itnfimV2gTCJBBK0VZWaZ20rlr3mBcIJ8HFsSPbSVBR/vuOEwiXrmiBB/t85/Kdm7fsa557ZYFswkITa55bMGiLHMRcpncRsyZi00jyLFfawhY0JlBDolUGV2R21UHfMFM7uee7i/N6gF/K9DFWstPY3XdKdDIWSm74QuAA7lyYXjIXBq/PwOAMDP2WNXGki8UsF3OLdAMIF4W1FPJLLHi8plyO/H/anyk7U3Ebr7rood/aXfThaOx9BO98BKc+lryE8pYnRxSaogJ9YVO3iSwyQgd9+iIGfmvnk+FHHlzQnYd9aVur/3IZ+keVcj92Q50mJwlPvVejJI3D1hlELFZZzgXqX7nl1IiITaBBHDYXQlU/GpnVBd7s5fEK4/U/5K9m42QRe9ZoUJcYsQ6zc52ibeGHlyfc0LkDM7UsBGlfAH+jUaJwHFu1+0IuifaRXsP2sRlHLtM/5mFjUZp9Uo6o06wbfapzgbMLqR/oDr1hYxfJmqp4NNdupU4H0pQpjQhW92pDrelDHz6P6U/tSbgQJJJKUpawyYQ0dF1Zm098v6oqrxp6Sqd+QN30yQ0pGavVGkkrLrRGaWdKKEp3GuZzu4IlAT9HMFoNhuVg+H30lgUD6O9uwfiNsGD8ERgxf0qLVaano0Lp7Rf7fW67RSlvE6UpNgcugUaQiHa7o+TMnXr8mmhut7yuobU6Wpezybz0Ji0x4RKftcpN2PSFwk3gqcgW1HZZT3v0PCSFjF3z4BC77aF7VJRAT6jU8ZHUvu4pYfVfmgiukg==
Steps to reproduce
Switch visible1 and visible2 and observe the number of 'Dom nodes' in the Performance monitor panel
What is expected?
Unmounted 'Dome nodes' are reclaimed
What is actually happening?
Unmounted 'Dome nodes' are reclaimed
System Info
No response
Any additional comments?
No response
The text was updated successfully, but these errors were encountered: