I ran the following test with a script that logged memory usage in MB every
minute:
Automatic screen blank/lock was disabled, WhiteSur was enabled for GDM and
firefox, seconds visualization was enabled in the clock, text shadow was
enabled as described by Alessandro, and my cursor was hovered over the clock
for the duration of the test (which may or may not be necessary, but it made
the shadow more visible for me).
I observed the following over two 4 hour tests:
With 46.0-0ubuntu6~24.04.9 (unpatched): Starting memory utilization at
2025-10-27-08:54 was 394 MB, ending at 2025-10-27-13:21 was 559 MB, with
a roughly linear increase.
With 46.0-0ubuntu6~24.04.11 (patched): Starting memory utilization at
2025-10-27-13:24 was 385 MB, ending at 2025-10-27-17:40 was 387 MB,
utilization remained roughly flat throughout the test.
Patched environment:
ubuntu@ubuntu:~$ apt-cache policy gnome-shell
gnome-shell:
Installed: 46.0-0ubuntu6~24.04.11
Candidate: 46.0-0ubuntu6~24.04.11
Version table:
*** 46.0-0ubuntu6~24.04.11 100
100 http://us.archive.ubuntu.com/ubuntu noble-proposed/main amd64
Packages
100 /var/lib/dpkg/status
46.0-0ubuntu6~24.04.9 500
500 http://us.archive.ubuntu.com/ubuntu noble-updates/main amd64
Packages
46.0-0ubuntu6~24.04.3 500
500 http://security.ubuntu.com/ubuntu noble-security/main amd64 Packages
46.0-0ubuntu5 500
500 http://us.archive.ubuntu.com/ubuntu noble/main amd64 Packages
** Tags removed: verification-needed verification-needed-noble
** Tags added: verification-done verification-done-noble
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-shell in Ubuntu.
https://bugs.launchpad.net/bugs/2121786
Title:
Using a custom theme leaks 10-15 MB per hour
Status in GNOME Shell:
Fix Released
Status in gnome-shell package in Ubuntu:
Fix Released
Status in gnome-shell source package in Noble:
Fix Committed
Status in gnome-shell source package in Plucky:
Fix Released
Bug description:
[ Impact ]
gnome-shell has a memory leak, which causes the user's memory to be
gradually consumed after several days of gnome-shell being open with
some themes, even when no actual user-visible tasks are being
performed.
[ Test Plan ]
1. Install the White Sur theme from
https://github.com/vinceliuice/WhiteSur-gtk-theme
2. Enable the theme in Gnome Tweaks.
3. Start tracking memory usage in a format that can be easily graphed.
Include any data and graphing scripts used in your tests in this report.
4. Keep gnome-shell open for 2 days, and keep the machine idle
5. Save graph of memory usage
Perform these steps on both an unpatched system and a patched system
and compare the results.
[ Expected Behavior ]
Memory utilization graph should be relatively flat at start and end of
experiment
[ Actual Behavior ]
Memory utilization graph increases roughly linearly with respect to
time
[ Where problems could occur ]
This patch changes which memory management primitive is used in one
place, which could theoretically result in a user-visible crash if
improperly implemented.
[ Other info ]
This is to track upstream bug:
https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/8509
which seems to be a regression starting in gnome-shell 46.0.
To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-shell/+bug/2121786/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp