Issue metadata
Sign in to add a comment
|
High memory usage in other gnome desktop apps when running Chrome and the Source Code Pro font |
||||||||||||||||||||
Issue description
Chrome Version: 69.0.3494.0 (Developer Build) (64-bit)
Revision ca1156974cbe707fd023a00ae62104528833a44e-refs/heads/master@{#575509}
OS: Linux (gLinux)
What steps will reproduce the problem?
(1) Install the Source Code Pro font into ~/.fonts (any font? haven't tried with a different font).
(2) Start Chrome.
What is the expected result?
Running Chrome does not cause memory usage to grow in other apps.
What happens instead?
Memory usage grows unbounded in other (gnome?) desktop apps.
The rate is about 3-5 GB/min in aggregate.
Memory usage growth stops once Chrome is closed (but the allocated memory is not freed).
Also, when Chrome is running there is substantial jank in the UI (3-4 second freezes every second or so).
I ran a git bisect manually and it points to this revision: https://chromium-review.googlesource.com/c/chromium/src/+/1112179
Although it looks like that was reverted the issue still persists in the latest master (pulled today, July 17).
I dumped the memory of one of the apps that had high memory growth (csd-keyboard). It appears that most of the memory is a repetition of some binary data, but I picked out some strings (like ".fonts") . A partial dump of the repeated data is attached.
When the custom font is moved out of the ~/.fonts directory (and ~/.fonts is empty), the issue no longer happens.
,
Jul 18
I think I remember a period of fontconfig master being broken and as a result the cache updates always fail and as such all apps try to recreate the cache each time. That can possibly result in behavior you are seeing if there's a leak in failure case in fontconfig. All said, I think should be fixed in master. Have you tried that?
,
Jul 18
Do you mean the system fontconfig or Chrome's fontconfig? (or both?) Chrome's fontconfig was recently updated to master. steveanton@ is it fixed on ToT?
,
Jul 18
I verified the behavior still happens on ToT yesterday morning. Has there been a roll since then?
,
Jul 18
This was the last roll https://chromium.googlesource.com/chromium/src/+/3ff47e60c5ce645973e57fc8dbe88b43d63edaf4
,
Jul 18
Yeah, I have that commit in the build. Also: my system fontconfig is version 2.12.6-0.1
,
Jul 30
,
Oct 21
,
Oct 21
,
Oct 31
The NextAction date has arrived: 2018-10-31 |
|||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||
Comment 1 by thomasanderson@chromium.org
, Jul 17