You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 (both with v-data-table-server component), 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?
example: https://github.com/esoty6/memory-example
In this simple example, whenswitching between routes, you can observe in chrome task manager, that after a while, memory consumption will increase slowly. This happens even here, when the components are very simple, and there isn't much data nor customized slots
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
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 (both with v-data-table-server component), 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?
example: https://github.com/esoty6/memory-example
In this simple example, whenswitching between routes, you can observe in chrome task manager, that after a while, memory consumption will increase slowly. This happens even here, when the components are very simple, and there isn't much data nor customized slots
Beta Was this translation helpful? Give feedback.
All reactions