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 occurs when v-for's data source changed #4829

Closed
ZerroRt opened this issue Oct 21, 2021 · 0 comments · Fixed by #4833
Closed

Memory leak occurs when v-for's data source changed #4829

ZerroRt opened this issue Oct 21, 2021 · 0 comments · Fixed by #4833
Labels
❗ p4-important Priority 4: this fixes bugs that violate documented behavior, or significantly improves perf. 🐞 bug Something isn't working

Comments

@ZerroRt
Copy link

ZerroRt commented Oct 21, 2021

Version

3.2.20

Reproduction link

sfc.vuejs.org/

Steps to reproduce

Click the change time button,
The memory curve in the performance monitor has been rising, and manual GC cannot be recycled.

What is expected?

No leakage occurs when you click the change time button

What is actually happening?

Changing the data source leads to memory leaks


When v-for's internal components are html native components, it does not seem to cause this problem (当v-for的内部组件是html原生组件的时候似乎不会导致这个问题)

@posva posva added ❗ p4-important Priority 4: this fixes bugs that violate documented behavior, or significantly improves perf. 🐞 bug Something isn't working labels Oct 21, 2021
@github-actions github-actions bot locked and limited conversation to collaborators Oct 8, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
❗ p4-important Priority 4: this fixes bugs that violate documented behavior, or significantly improves perf. 🐞 bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants