Ok, with the clock drawing updates every second I saw the memory usage
increase by ~700KB over 30min. I suppose that might be tangible evidence
of this leak.

-- 
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:
  Fix Committed

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

Reply via email to