Potential memory leak in DiscardableSharedMemoryManager |
|||
Issue descriptionThese 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.
,
Aug 16 2017
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.
,
Aug 16 2017
There is about 68K objects leaked, and 10 Megabytes leaked. reveman@ can you take a look or re-assign.
,
Aug 22 2017
ping?
,
Aug 23 2017
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?
,
Aug 24 2017
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?
,
Nov 7
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 |
|||
Comment 1 by etienneb@chromium.org
, Aug 7 201754.6 KB
54.6 KB View Download
60.5 KB
60.5 KB View Download
63.1 KB
63.1 KB View Download