Switching between routes increases detached elements count and memory usage #2506
Unanswered
esoty6
asked this question in
Help and Questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi.

I've quite big app and when I'm navigating through routes at some point memory usage is very high. When I switch between two routes, memory usage increases (on chrome quick, on firefox a little slower). I made snapshot of detached elements and I can see that there are many duplicated elements some of them with very high node count and I think that this can cause the problem. I've tried adding :key to the router-view, clearing objects in onBeforeUnmout etc. but it didn't help.
Any ideas?
Beta Was this translation helpful? Give feedback.
All reactions