gnome-shell leaks mem, 1.3G reserved after few days of uptime

Bug #1950026 reported by Andrey Lelikov
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnome-shell (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

gnome-shell leaks memory like crazy. after 4 days of uptime it uses 13.8G virt and 1.3G reserved mem. This is after I switched to wayland to mitigate the same issue, but on X.org it was much more crazier - about 20G virt / 1.5G reserved after one-two days of uptime, only the leak was in X.org process (2 of them, greeter and main), not gnome-shell.

p.s. I do understand that gnome is the best piece of software, and I just use it incorrectly - likely I have some extension or application that is at fault. The bug report is sort of rhetorical.

p.p.s. Unmodified LTS system (focal). Started to manifest about a month ago, out of the blue, no changes...

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: gnome-shell 3.36.9-0ubuntu0.20.04.2
ProcVersionSignature: Ubuntu 5.11.0-38.42~20.04.1-generic 5.11.22
Uname: Linux 5.11.0-38-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.11-0ubuntu27.21
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: GNOME-Classic:GNOME
Date: Sat Nov 6 01:50:41 2021
DisplayManager: gdm3
RelatedPackageVersions: mutter-common 3.38.4-1ubuntu2
SourcePackage: gnome-shell
UpgradeStatus: No upgrade log present (probably fresh install)
monitors.xml: Error: path contained symlinks.

Revision history for this message
Andrey Lelikov (lagnchpad) wrote :
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Thanks for the bug report.

First please look in $HOME/.local/share/gnome-shell and ensure there is no directory named 'extensions'. If there is one then remove it and log in again.

Similarly please open the 'Extensions' app and ensure you only find the three Ubuntu extensions listed.

tags: added: gnome-shell-leak
Changed in gnome-shell (Ubuntu):
status: New → Incomplete
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Also 'virt' memory is not real and should be ignored.

I can't tell what you mean by "reserved" memory but next time you encounter the problem please run:

  ps auxw | grep gnome-shell

and paste the output here.

summary: - gnome-shell leaks mem, 13.8G virt, 1.3G reserved after few days of
- uptime
+ gnome-shell leaks mem, 1.3G reserved after few days of uptime
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for gnome-shell (Ubuntu) because there has been no activity for 60 days.]

Changed in gnome-shell (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.