** Tags added: rjs-jj-incoming

** Tags removed: rjs-jj-incoming
** Tags added: rls-jj-incoming

** Description changed:

  [Impact]
  
  gnome-shell's memory usage grows by tens of megabytes with every
  screenshot. A few screenshots make it 100MB larger and a few dozen
  screenshots make it 1GB larger.
  
  [Test Plan]
+ 
+ THIS NEEDS CHANGING TO VERIFY THE GNOME-SHELL FIX
  
  1. Log into gnome-shell.
  
  2. Measure its real memory usage:
  
     grep RSS /proc/`pidof gnome-shell`/status
  
  3. Take 20 full screen screenshots by pressing PrtScn each time. No need
  to save them anywhere.
  
  4. Measure the memory usage again.
  
  Expected: Memory usage grows a little but growth does not exceed a few
  hundred megabytes. It should level off after a while and sometimes even
  shrink due to garbage collection.
  
  Observed: Memory usage grows without bounds, easily exceeding 1GB after
  about 20 screenshots (depending on screen resolution). It never shrinks
  significantly.
  
  [Where problems could occur]
  
  Since the fix affects GJS, problems could occur in any part of gnome-
  shell.
  
  [Other Info]
  
  This leak requires multiple fixes to minimize the memory usage. For the
  moment we are only aiming to fix the main GJS portion of the bug that
  allows memory usage to exceed 1GB.

** Description changed:

  [Impact]
  
  gnome-shell's memory usage grows by tens of megabytes with every
  screenshot. A few screenshots make it 100MB larger and a few dozen
  screenshots make it 1GB larger.
  
- [Test Plan]
+ [Test Plan for GNOME Shell Fix]
  
- THIS NEEDS CHANGING TO VERIFY THE GNOME-SHELL FIX
+ TODO
+ 
+ [Test Plan for GJS Fix]
  
  1. Log into gnome-shell.
  
  2. Measure its real memory usage:
  
     grep RSS /proc/`pidof gnome-shell`/status
  
  3. Take 20 full screen screenshots by pressing PrtScn each time. No need
  to save them anywhere.
  
  4. Measure the memory usage again.
  
  Expected: Memory usage grows a little but growth does not exceed a few
  hundred megabytes. It should level off after a while and sometimes even
  shrink due to garbage collection.
  
  Observed: Memory usage grows without bounds, easily exceeding 1GB after
  about 20 screenshots (depending on screen resolution). It never shrinks
  significantly.
  
  [Where problems could occur]
  
  Since the fix affects GJS, problems could occur in any part of gnome-
  shell.
  
  [Other Info]
  
  This leak requires multiple fixes to minimize the memory usage. For the
  moment we are only aiming to fix the main GJS portion of the bug that
  allows memory usage to exceed 1GB.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-shell in Ubuntu.
https://bugs.launchpad.net/bugs/1973638

Title:
  gnome-shell 42 leaks tens of megabytes with every screenshot

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-shell/+bug/1973638/+subscriptions


-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to