-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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 when closing Firefox Dev Tools #1999
Comments
The exact same thing also happens on Windows. |
Same on chrome mac with vite + vue 3 |
I am using a Webpack setup with Vue 3. On Firefox Developer Edition, 111.0b8. Vue Dev Tools is 6.5.0. The memory consumption skyrockets once I open Vue Dev Tools inside Firefox Dev Tools. The browsers will very soon become unusable afterwards. Sometimes I did not realise what happened, because I was doing something else. Then suddenly Firefox ate all of my 32GB of memory, or what was remaining to use. The same does not happen in Chrome with VDT. |
The problem is still relevant |
I have a similar issue in Chrome on Windows for a Vite + Vue 3 app where after closing the devtools panel the CPU usage shoots up from <5% to a sustained ~30% roughly equally distributed across all cores. CPU: Intel i7-8665U, Vue devtools version: 6.5.0 After further testing I've found that if you re-open the Vue devtools, the CPU usage drops down to normal again. But if you close it again it shoots up again and then the memory leak starts |
Same issue here: once you close Vue devtools, memory usage increases steadily until all memory is used. The only caveat is that I need to open and close Vue devtools twice in order to reproduce, so:
And memory usage begins to skyrocket. OS: Ubuntu 22.04 |
This issue is still relevant for many users, which makes the DX using Vue Devtools almost useless. |
Might be of interest: |
Vue devtools version
6.4.5
Link to minimal reproduction
n/a
I am able to reproduce the error with a minimal
Vue
app:Steps to reproduce & screenshots
Monitor RAM usage to see the memory leak:
What is expected?
Memory stays constant.
What is actually happening?
Memory usage increases and within a few seconds all memory is used.
System Info
System: OS: Linux 6.0 KDE neon 5.26 CPU: (24) x64 12th Gen Intel(R) Core(TM) i9-12900K Memory: 34.02 GB / 62.60 GB Container: Yes Shell: 5.8 - /usr/bin/zsh Binaries: Node: 16.13.1 - /tmp/fnm_multishells/19446_1670227570518/bin/node Yarn: 3.2.3 - ~/code/redacted/node_modules/.bin/yarn npm: 8.1.2 - /tmp/fnm_multishells/19446_1670227570518/bin/npm Browsers: Firefox: 107.0.1
Any additional comments?
How can I debug this issue to give you the required information? I am unable to re-open the Dev Tools after closing them for the first time, so I cannot export a memory dump or a profiler recording.
I cannot leave the Dev Tools open since the bug only occurs when closing them.
The text was updated successfully, but these errors were encountered: