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

Issue 753020 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner: ----
Closed: Nov 7
Cc:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

Potential memory leak in DiscardableSharedMemoryManager

Project Member Reported by etienneb@chromium.org, Aug 7 2017

Issue description

These results are produced by running an chrome extension that randomly browse the web for multiple days. Chrome is running with native-heap-profiling activated and memory allocations are tracked.

The attached stackframes shows where the leaking memory got allocated.
 
bug1.png
55.3 KB View Download
More stacktraces from an other computer.
bug1.png
54.6 KB View Download
bug2.png
60.5 KB View Download
bug3.png
63.1 KB View Download
This leak is still showing up in recent trace:

os-arch: "x86_64",
os-name: "Windows NT",
revision: "cdd15784955039742fe9a8235581922d41b82d78-refs/heads/master@{#492239}",
product-version: "Chrome/62.0.3178.0",

See attached file.
bug1.png
53.9 KB View Download
Cc: reve...@chromium.org
There is about 68K objects leaked, and 10 Megabytes leaked.

reveman@ can you take a look or re-assign.
ping?
Discardable memory is by design not supposed to be deleted unless needed so I'm not sure this is a real issue. Ca you explain more how this extension works?
I believe the leak is not "discardable memory" but objects used to keep track of the discardable memory used.

To clarify, the remaining objects are the amount allocated objects with the specific stackframe that are allocated between two points (beginning of tracing / end of tracing) and still exist at the end.

The experiment ran for more than a week. Which means that over the week, there are about 68K objects, accounting for 2.5M that is 'potentially; leaked. It's a potential leak because it's possible that the 68K objects are alive and useful.

To validate that this is a leak, will should ensure that there is no longer shared-memory used, and that these objects still exists?

Status: WontFix (was: Untriaged)
This regression has been open for half a year. It's not very actionable and the regression has been in all Chrome user's hands for months.

Sign in to add a comment