Possible memory leaking on dev tools |
||
Issue descriptionChrome Version: 59.0.3071.115 OS: Linux What steps will reproduce the problem? (1) Open http://sentence.yourdictionary.com/ (2) Run window.scrollTo(window.scrollX, 230) from console (3) The menu bar should disappear and appear repeatedly. If not, scroll up or down to make it so. (4) Open dev tools. The menu bar flashing is a separate bug (crbug.com/740173) which causes style change in dev tools. If we leave the tab in background for ~30 minutes, it may consume > 1GB memory. Not sure whether this is a bug or not. Having so much memory consumed (more memory with time goes by) does concern me a bit.
,
Jul 10 2017
I did some looking into it and it appears that this site over 30 mins or so does around 5k network requests. We hold some references to each of these and store things like stack traces of who created them and some other stuff. If you stop recording network requests, we still have considerable memory useage, however after consulting with +lushnikov, we hold a reference to every VM created by V8, which this page does large amounts of. I am going to close this bug because we need to hold the VM data and network requests to use the tools properly as it is now. The user could always refresh the page, navigate or not use as many evaluated scripts and devtools would use a fraction of the memory. Thanks! |
||
►
Sign in to add a comment |
||
Comment 1 by alph@chromium.org
, Jul 10 2017Owner: allada@chromium.org
Status: Assigned (was: Untriaged)