New issue
Advanced search Search tips

Issue 809626 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner:
Closed: Feb 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 3
Type: Bug



Sign in to add a comment

blink::InspectorPageAgent::SharedBufferContent is not cleared after closing devtools.

Project Member Reported by erikc...@chromium.org, Feb 6 2018

Issue description

Repro steps:

[note: this is what I did to create the problem. I have not tried to repro locally.]

1) I opened youtube and devtools. 
2) Navigate around youtube.
3) Take a memory-infra trace [probably not needed for repro].
4) Close devtools.
5) Take a memory-infra trace [probably not needed for repro].

Observation: In the trace from (3) [youtube4], there are 15MB of allocations from blink::InspectorNetworkAgent::DidFinishLoading [storing network requests]. 

Observation: In the trace from (5) [youtube5], there are still 15MB of allocations from blink::InspectorNetworkAgent::DidFinishLoading.

However, opening devtools after (5) shows that there are no stored network requests. 
 
trace_youtube4.json.gz
747 KB Download
trace_youtube5.json.gz
630 KB Download
Owner: erikc...@chromium.org
Status: Assigned (was: Untriaged)
I don't see where we leak, all these buffers are getting released when devtools detaches. Is there a way to see the retaining path? Time for Oilpan heap profiler?
Status: WontFix (was: Assigned)
It's possible the problem is that there was not an oilpan GC run after devtools was closed.

Sign in to add a comment