New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 740206 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner:
Last visit > 30 days ago
Closed: Jul 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 2
Type: Bug



Sign in to add a comment

Possible memory leaking on dev tools

Project Member Reported by yigu@chromium.org, Jul 7 2017

Issue description

Chrome 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.
 

Comment 1 by alph@chromium.org, Jul 10 2017

Components: -Platform>DevTools>Memory Platform>DevTools>Network
Owner: allada@chromium.org
Status: Assigned (was: Untriaged)
The main memory consumer is SDK.NetworkRequest objects.

Comment 2 by allada@chromium.org, Jul 10 2017

Cc: lushnikov@chromium.org
Status: WontFix (was: Assigned)
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