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

Devtools tries to serialize whole VNodes #857

Closed
jsm1003 opened this issue Jan 5, 2019 · 11 comments
Closed

Devtools tries to serialize whole VNodes #857

jsm1003 opened this issue Jan 5, 2019 · 11 comments

Comments

@jsm1003
Copy link

jsm1003 commented Jan 5, 2019

Version

4.1.5

Browser and OS info

Chrome 71.0.3578.98/Windows 10

Steps to reproduce

git clone [email protected]:jsm1003/vue-devtools-bug.git

cd vue-devtools-bug

npm install

npm run serve

open chrome devtools

bug

What is expected?

nothing happend

What is actually happening?

memory leak caused by vue-devtools

@raphaelsoul
Copy link

leak report by mocha.
image

I'am using vue-devtools v4.1.5 beta on chrome

@Akryum Akryum added the need team repro We acknowledged your report and will soon try to reproduce it label Jan 24, 2019
@peey
Copy link

peey commented Jan 26, 2019

I've noticed a memory leak in Firefox as well. Browser Version 64.0 (64-bit) on Ubuntu 16.04, Vue Devtools version 4.1.5.

@dpiquet
Copy link

dpiquet commented Feb 19, 2019

Same here, firefox quantum 65, devtools 4.1.5.

I noticed that refreshing the page (ctrl+R) grows memory quite fast when app (spa) built in 'dev' mode. Closing the tab and opening a new one frees the memory.

If the app is in prod mode, devtool plugin is not started and memory usage is normal.

hope that helps to reproduce issue.

@Akryum
Copy link
Member

Akryum commented Feb 19, 2019

Could you try with the latest 5.0 beta?

@dpiquet
Copy link

dpiquet commented Feb 19, 2019

I still got the issue with 5.0.0 beta 4 installed from github releases.

@lamka02sk
Copy link

Still an issue, one big nasty memory leak. I was wondering why my disk makes noise after a few hours of development and found out it was actually swapping. 10GB of RAM only Firefox 😂

@luka-mikec
Copy link

I'm not sure if this is related, but a serious leak (~100MB/sec) occurs when I select a component which has a proxied object whose length is (being reported through the proxy as) 10^15. I guess it has to do with JSON stringification somewhere. Perhaps stringifier should not try to stringify everything at once?

@peey
Copy link

peey commented Feb 28, 2019

Status of this bug should be elevated. I have to use Devtools in a secondary browser so that my tabs on primary browser don't crash when I have to kill the process due to memory leak.

@Faymir
Copy link

Faymir commented Mar 9, 2019

Same for me. huge memory leak when refreshing it goes from 1GB of ram to 3Gb of ram used when refresh just 6 times.

@jcloutz
Copy link

jcloutz commented Apr 19, 2019

Same for me, firefox gets up to around 6GB of ram in less than an hour of working.

@LockonZero
Copy link

Same here. I am working with a medium sized set of data and after refreshing a few times, Firefox is using ~5GB of RAM. Closing the tab and starting on a new one temporarily solves the problem

@Akryum Akryum removed the need team repro We acknowledged your report and will soon try to reproduce it label Jun 26, 2019
@Akryum Akryum changed the title Memory leak Devtools tries to serialize whole VNodes Jun 26, 2019
@Akryum Akryum closed this as completed in 953cbb4 Jun 26, 2019
sp1ker pushed a commit to sp1ker/vue-devtools that referenced this issue Aug 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

10 participants