New issue
Advanced search Search tips

Issue 718126 link

Starred by 1 user

Issue metadata

Status: Duplicate
Owner: ----
Closed: May 2017
Cc:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

Chrome is monotonically increasing it's memory usage over GMail

Project Member Reported by etienneb@chromium.org, May 3 2017

Issue description

We made an experiment to run gmail for a whole day on an empty profile.
A memory usage dump is taking at periodic interval to get the memory usage by memory allocator.

We are observing a linear growth over time which may points to memory leaks.

     Resident  blink_gc  malloc    partition_alloc    v8
#1     260     14.8       23.1      49.6              110
#2     259     16.1       32        48.6              124.4
#3     279     17.7       40.9      49.3              137.9
#4     294     18.2       52        49.5              146.9
#5     320     21.8       52.6      50.2              159.7
#6     327     22.1       60        53.3              166.4
#7     356     22.1       61        50.4              159.9
#8     367     22.2       64        50.4              174.4
#9     371     22.2       64.7      50.4              177.9
#10    371     22.1       65.7      50.5              184.4
#11    392     22.5       68.8      50.6              199.4
#12    571     26.1       71        55.7              369.9
#13    648     29.6       76.7      68.1              424.5
#14    680     30.5       76.8      68.4              450


 
I've made a diff from memory dump diff of #1 and #15 (based on stackframes).
And it's probably pointing to this: 
  extensions::MessagingBindings::OpenChannelToExtension

Example:
      u'malloc\r',
      u'operator new\r',
      u'base::MakeUnique<extensions::ExtensionPort,extensions::ScriptContext * __ptr64,extensions::PortId & __ptr64,int & __ptr64>\r',
      u'extensions::MessagingBindings::OpenChannelToExtension\r',
      u'extensions::ObjectBackedNativeHandler::Router\r',
      u'<unresolved>',
Mergedinto: 676082
Status: Duplicate (was: Untriaged)
This is the same issue:
  https://bugs.chromium.org/p/chromium/issues/detail?id=676082
I did this with a non-corp build with all extensions disabled and saw an increase from ~150MB to ~300MB over a little less than 24 hours. Coming back this morning (now at about 40 hours) it's sitting at 400MB. So this still leaks without corp extensions, albeit a little slower. (I didn't have profiling enabled, so have no traces to give.)

Sign in to add a comment