I am seeing a slight but sustained increase after even 16 hours of idle (about 1.5MiB). I'll keep tracking this through the next day - but I think if we can show any sustained increase from the gnome-shell process that disappears with the proposed patch (as long as it is a consistent trend line), a shorter observation window would be reasonable.
** Description changed: - [ 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 7 days, and keep the machine idle + 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. -- 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: In Progress Status in gnome-shell source package in Plucky: In Progress 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

