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

Issue 780536 link

Starred by 2 users

Issue metadata

Status: Assigned
Owner:
Last visit > 30 days ago
Cc:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: ----



Sign in to add a comment

Memory bloat in browser process - Ubuntu/Beta

Reported by kanepy...@gmail.com, Nov 1 2017

Issue description

Chrome Version: 63.0.3239.18 (beta)
OS: Ubuntu 16.04.3 LTS

URL (if applicable) where the memory bloat occurred: Browser process

Can you reproduce this memory bloat?
Yes, on a daily basis

What steps will reproduce this memory bloat (or if it's not reproducible,
what were you doing until then)?
(1) Heavy usage of webapps including TweetDeck, multiple YouTube tabs, Slack, IRCCloud, Feedly, Discourse.

The browser process grows over the minutes/hours until it fills up RAM, causing hitching when memory must be unswapped.

No filtering of information from the attached memory logs was necessary (contains only Linux user name, one extension ID)

Memory logs were taken 6 minutes apart.
As of time of reporting, (15 minutes after first memlog) browser process has grown to 1GB reported in the Chrome task manager.

This issue appeared to have been mitigated in the past by removing the "Profile 5" folder and re-downloading user data via Sync, but seems to have returned.

 
memlog_26271.json.gz
16.0 KB Download
memlog_26271.json.2.gz
17.3 KB Download
Cc: pbomm...@chromium.org gov...@chromium.org
Labels: Needs-Triage-M63
Cc: ranjitkan@chromium.org
Labels: M-63
Cc: benhenry@chromium.org

Comment 4 Deleted

It was particularly bad today when I watched a 30-person SpeedRunsLive race, which involves one Twitch.tv player embed per person. As always, the memory remained until I performed a full restart of Chrome.
Cc: sullivan@chromium.org
Cc: erikc...@chromium.org
Erik, can you help with triage? What debugging info should we collect? (Also, is there a doc on that we can link users to?)
Thank you for reporting this!

Unfortunately, the beta branch doesn't have all of the newest memlog code, and the traces you've uploaded don't contain full backtraces, nor MDP information.

If you have the time, can you: 
  1) install chrome dev channel, 
  2) Make sure --memlog=minimal is enabled [it looks like you've figured that out]. Instructions are here: https://cs.chromium.org/chromium/src/chrome/profiling/README.md?type=cs&q=profiling.*md&sq=package:chromium&l=8
  3) Wait for browser to bloat.
  4) Take a memory-infra trace using chrome://tracing, as per instructions in (2).
Cc: etienneb@chromium.org
Owner: erikc...@chromium.org
Status: Assigned (was: Unconfirmed)
Oh blergh, please hold on. I just tried these steps on Linux, and we're still getting not-very-interesting back-traces. I bet there's something broken here.
Owner: ajwong@chromium.org
ajwong was going to look at fixing backtrace on Linux.
I think it might have something to do with video decoding - the bloat isn't as big during stretches where I don't view any video content.

Comment 12 Deleted

Pinging back on this - do you have a bug filed for making the memory trace useful that this can be BlockedOn ?

(#12 said "Blocker bug" which is not the right words I believe?)
Thanks for checking back! This is fixed by commit 9f966099a3d6f91c80016226fe9d33981f291689 [516596], which will be present in the next Dev release for Linux [which will hopefully come out this week]. 

http://omahaproxy.appspot.com/

The current dev release is branched from 516552, so it just missed the cut-off.
This memory leak was gone in Beta M63 but it seems to be back in M64 64.0.3282.24

(Or there's a different leak with similar symptoms).

Sign in to add a comment