[Desktop-packages] [Bug 1973638] Re: gnome-shell 42 leaks tens of megabytes with every screenshot

2023-07-15 Thread Daniel van Vugt
** Changed in: gnome-shell (Ubuntu Jammy)
   Status: Fix Committed => Fix Released

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

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

Status in GNOME Shell:
  Fix Released
Status in gjs package in Ubuntu:
  Fix Released
Status in gnome-shell package in Ubuntu:
  Fix Released
Status in gjs source package in Jammy:
  Fix Released
Status in gnome-shell source package in Jammy:
  Fix Released

Bug description:
  [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 for 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.

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


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1973638] Re: gnome-shell 42 leaks tens of megabytes with every screenshot

2023-01-24 Thread Sugihwaras
i am sorry forget this part because distrohop to fedora & opensuse.

i make new issue at gitlab about this issue too
https://gitlab.gnome.org/GNOME/gjs/-/issues/526.

this part fix leak on gnome-shell part but its still have issue
undefined ram usage increase.


** Bug watch added: gitlab.gnome.org/GNOME/gjs/-/issues #526
   https://gitlab.gnome.org/GNOME/gjs/-/issues/526

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

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

Status in GNOME Shell:
  Fix Released
Status in gjs package in Ubuntu:
  Fix Released
Status in gnome-shell package in Ubuntu:
  Fix Released
Status in gjs source package in Jammy:
  Fix Released
Status in gnome-shell source package in Jammy:
  Fix Committed

Bug description:
  [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 for 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.

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


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1973638] Re: gnome-shell 42 leaks tens of megabytes with every screenshot

2022-10-30 Thread Bug Watch Updater
** Changed in: gnome-shell
   Status: Unknown => Fix Released

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

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

Status in GNOME Shell:
  Fix Released
Status in gjs package in Ubuntu:
  Fix Released
Status in gnome-shell package in Ubuntu:
  Fix Released
Status in gjs source package in Jammy:
  Fix Released
Status in gnome-shell source package in Jammy:
  Fix Committed

Bug description:
  [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 for 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.

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


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1973638] Re: gnome-shell 42 leaks tens of megabytes with every screenshot

2022-09-17 Thread Daniel van Vugt
** Changed in: gnome-shell (Ubuntu)
   Status: Fix Committed => Fix Released

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

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

Status in GNOME Shell:
  Unknown
Status in gjs package in Ubuntu:
  Fix Released
Status in gnome-shell package in Ubuntu:
  Fix Released
Status in gjs source package in Jammy:
  Fix Released
Status in gnome-shell source package in Jammy:
  Fix Committed

Bug description:
  [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 for 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.

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


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1973638] Re: gnome-shell 42 leaks tens of megabytes with every screenshot

2022-09-14 Thread Daniel van Vugt
** Changed in: gnome-shell (Ubuntu Jammy)
   Status: Triaged => Fix Committed

** Tags added: fixed-in-42.5

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

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

Status in GNOME Shell:
  Unknown
Status in gjs package in Ubuntu:
  Fix Released
Status in gnome-shell package in Ubuntu:
  Fix Committed
Status in gjs source package in Jammy:
  Fix Released
Status in gnome-shell source package in Jammy:
  Fix Committed

Bug description:
  [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 for 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.

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


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1973638] Re: gnome-shell 42 leaks tens of megabytes with every screenshot

2022-09-06 Thread Daniel van Vugt
** Tags removed: fixed-in-43
** Tags added: fixed-in-43.rc

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

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

Status in GNOME Shell:
  Unknown
Status in gjs package in Ubuntu:
  Fix Released
Status in gnome-shell package in Ubuntu:
  Fix Committed
Status in gjs source package in Jammy:
  Fix Released
Status in gnome-shell source package in Jammy:
  Triaged

Bug description:
  [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 for 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.

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


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1973638] Re: gnome-shell 42 leaks tens of megabytes with every screenshot

2022-08-31 Thread Daniel van Vugt
Hopefully this is the final gnome-shell fix:
https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2461

** Changed in: gnome-shell (Ubuntu)
   Status: Triaged => Fix Committed

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

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

Status in GNOME Shell:
  Unknown
Status in gjs package in Ubuntu:
  Fix Released
Status in gnome-shell package in Ubuntu:
  Fix Committed
Status in gjs source package in Jammy:
  Fix Released
Status in gnome-shell source package in Jammy:
  Triaged

Bug description:
  [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 for 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.

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


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1973638] Re: gnome-shell 42 leaks tens of megabytes with every screenshot

2022-08-30 Thread Daniel van Vugt
Nevermind. The gnome-shell fix was reverted upstream because it is
incorrect.

** Tags removed: rls-jj-incoming

** Changed in: gnome-shell (Ubuntu)
   Status: Fix Committed => Triaged

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

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

Status in GNOME Shell:
  Unknown
Status in gjs package in Ubuntu:
  Fix Released
Status in gnome-shell package in Ubuntu:
  Triaged
Status in gjs source package in Jammy:
  Fix Released
Status in gnome-shell source package in Jammy:
  Triaged

Bug description:
  [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 for 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.

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


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1973638] Re: gnome-shell 42 leaks tens of megabytes with every screenshot

2022-08-29 Thread Daniel van Vugt
** 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 Desktop
Packages, which is subscribed to gjs in Ubuntu.
https://bugs.launchpad.net/bugs/1973638

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

Status in GNOME Shell:
  Unknown
Status in gjs package in Ubuntu:
  Fix Released
Status in gnome-shell package in Ubuntu:
  Fix Committed
Status in gjs source package in Jammy:
  Fix Released
Status in gnome-shell source package in Jammy:
  Triaged

Bug description:
  [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 for 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.

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


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1973638] Re: gnome-shell 42 leaks tens of megabytes with every screenshot

2022-08-28 Thread Daniel van Vugt
It looks like the final fix required has now landed in gnome-shell 43:

https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2449


** Changed in: gnome-shell (Ubuntu)
   Status: Triaged => Fix Committed

** Tags added: fixed-in-43 fixed-upstream

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

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

Status in GNOME Shell:
  Unknown
Status in gjs package in Ubuntu:
  Fix Released
Status in gnome-shell package in Ubuntu:
  Fix Committed
Status in gjs source package in Jammy:
  Fix Released
Status in gnome-shell source package in Jammy:
  Triaged

Bug description:
  [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]

  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.

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


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1973638] Re: gnome-shell 42 leaks tens of megabytes with every screenshot

2022-07-12 Thread Launchpad Bug Tracker
This bug was fixed in the package gjs - 1.72.0-3~ubuntu22.04.2

---
gjs (1.72.0-3~ubuntu22.04.2) jammy; urgency=medium

  * Cherry-pick patch to fix memory leak seen when taking screenshots
(LP: #1973638)

 -- Jeremy Bicha   Wed, 29 Jun 2022 08:44:53 -0400

** Changed in: gjs (Ubuntu Jammy)
   Status: Fix Committed => Fix Released

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

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

Status in GNOME Shell:
  Unknown
Status in gjs package in Ubuntu:
  Fix Released
Status in gnome-shell package in Ubuntu:
  Triaged
Status in gjs source package in Jammy:
  Fix Released
Status in gnome-shell source package in Jammy:
  Triaged

Bug description:
  [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]

  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.

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


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1973638] Re: gnome-shell 42 leaks tens of megabytes with every screenshot

2022-07-12 Thread Jeremy Bicha
Before installing the update:
$ grep RSS /proc/`pidof gnome-shell`/status
VmRSS:323100 kB
after running the 20 screenshots
$ grep RSS /proc/`pidof gnome-shell`/status
VmRSS:605112 kB

and the size didn't really go down.


After installing gjs 1.72.0-3~ubuntu22.04.2,

$ grep RSS /proc/`pidof gnome-shell`/status
VmRSS:325388 kB

After the 20 screenshots
$ grep RSS /proc/`pidof gnome-shell`/status
VmRSS:559232 kB

After waiting a few moments
$ grep RSS /proc/`pidof gnome-shell`/status
VmRSS:340772 kB

That verifies this bug fix.

** Changed in: gnome-shell (Ubuntu)
 Assignee: Jeremy Bicha (jbicha) => (unassigned)

** Changed in: gnome-shell (Ubuntu Jammy)
 Assignee: Jeremy Bicha (jbicha) => (unassigned)

** Tags removed: verification-needed verification-needed-jammy
** Tags added: verification-done verification-done-jammy

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

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

Status in GNOME Shell:
  Unknown
Status in gjs package in Ubuntu:
  Fix Released
Status in gnome-shell package in Ubuntu:
  Triaged
Status in gjs source package in Jammy:
  Fix Committed
Status in gnome-shell source package in Jammy:
  Triaged

Bug description:
  [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]

  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.

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


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1973638] Re: gnome-shell 42 leaks tens of megabytes with every screenshot

2022-06-09 Thread Daniel van Vugt
** Tags added: rls-jj-incoming

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

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

Status in GNOME Shell:
  Unknown
Status in gjs package in Ubuntu:
  In Progress
Status in gnome-shell package in Ubuntu:
  Triaged

Bug description:
  i running wine program and i want doing a lot screenshot. after did it
  and close program. my system very laggy. i see at htop program my ram
  and swap full.

  my system info.

  Host: mantari Kernel: 5.17.7-xanmod1 x86_64 bits: 64 compiler: gcc
  v: 11.2.0 parameters: BOOT_IMAGE=/boot/vmlinuz-5.17.7-xanmod1
  root=UUID=1dd447f7-2ae1-47c5-81cc-8584b22766d3 ro mitigations=off quiet
  splash vt.handoff=7
Desktop: GNOME 42.0 tk: GTK 3.24.33 wm: gnome-shell dm: GDM3 42.0
  Distro: Ubuntu 22.04 LTS (Jammy Jellyfish)
  Machine:
Type: Portable System: Dell product: Inspiron 3442 v: N/A
Mobo: Dell model: 0T57PC v: A16 serial:  UEFI: Dell
  v: A16 date: 09/02/2020
  Battery:
ID-1: BAT0 charge: 14.9 Wh (100.0%) condition: 14.9/41.4 Wh (36.0%)
  volts: 16.8 min: 14.8 model: SMP-SDI2.8 DELL FW1MN31 type: Li-ion
  serial: 4862 status: Full
  Memory:
RAM: total: 3.75 GiB 
  Display: wayland server: X.org v: 1.21.1.3 with: Xwayland v: 22.1.1
  compositor: gnome-shell driver: X: loaded: modesetting unloaded: 
fbdev,vesa
  gpu: i915 display-ID: 0
Monitor-1: eDP-1 model: AU Optronics built: 2013 res: 1366x768 dpi: 112
  gamma: 1.2 size: 309x173mm (12.2x6.8") diag: 354mm (13.9") ratio: 16:9
  modes: 1366x768
OpenGL: renderer: Mesa Intel HD Graphics (HSW GT1) v: 4.6 Mesa 22.0.1
  compat-v: 3.1 direct render: Yes
  Drives:
Local Storage: total: 1.14 TiB used: 916.19 GiB (78.7%)
ID-1: /dev/sda maj-min: 8:0 vendor: Western Digital
  model: WD7500BPVX-75JC3T0 size: 698.64 GiB block-size: physical: 4096 B
  logical: 512 B speed: 6.0 Gb/s type: HDD rpm: 5400 serial: WXA1A33W6463
  rev: 1A01 scheme: GPT
ID-2: /dev/sdb maj-min: 8:16 vendor: Seagate model: ST500LM012 HN-M500MBB
  size: 465.76 GiB block-size: physical: 4096 B logical: 512 B
  speed: 3.0 Gb/s type: HDD rpm: 5400 serial: S2S7J9DC911744 rev: 0001
  scheme: GPT
  Swap:
Kernel: swappiness: 30 (default 60) cache-pressure: 50 (default 100)
ID-1: swap-1 type: zram size: 2.79 GiB used: 0 KiB (0.0%) priority: 5
  dev: /dev/zram0
ID-2: swap-2 type: zram size: 2.79 GiB used: 0 KiB (0.0%) priority: 5
  dev: /dev/zram1

  $ apt-cache policy gnome-shell
  gnome-shell:
Installed: 42.0-2ubuntu1
Candidate: 42.0-2ubuntu1
Version table:
   *** 42.0-2ubuntu1 500
  500 https://mirror.internet.asn.au/pub/ubuntu/archive jammy/main 
amd64 Packages
  100 /var/lib/dpkg/status
  --- 
  ProblemType: Bug
  ApportVersion: 2.20.11-0ubuntu82.1
  Architecture: amd64
  CasperMD5CheckResult: pass
  CurrentDesktop: ubuntu:GNOME
  DisplayManager: gdm3
  DistroRelease: Ubuntu 22.04
  InstallationDate: Installed on 2022-04-10 (38 days ago)
  InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - Daily amd64 (20220409)
  NonfreeKernelModules: wl
  Package: gnome-shell 42.0-2ubuntu1
  PackageArchitecture: amd64
  RelatedPackageVersions: mutter-common 42.0-3ubuntu2
  Tags: third-party-packages jammy
  Uname: Linux 5.17.8-xanmod1 x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dip lpadmin lxd plugdev sambashare sudo video
  _MarkForUpload: True

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


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1973638] Re: gnome-shell 42 leaks tens of megabytes with every screenshot

2022-05-25 Thread Daniel van Vugt
https://gitlab.gnome.org/GNOME/gjs/-/merge_requests/746

** Also affects: gjs (Ubuntu)
   Importance: Undecided
   Status: New

** Changed in: gjs (Ubuntu)
   Importance: Undecided => High

** Changed in: gjs (Ubuntu)
   Status: New => In Progress

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

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

Status in GNOME Shell:
  Unknown
Status in gjs package in Ubuntu:
  In Progress
Status in gnome-shell package in Ubuntu:
  Triaged

Bug description:
  i running wine program and i want doing a lot screenshot. after did it
  and close program. my system very laggy. i see at htop program my ram
  and swap full.

  my system info.

  Host: mantari Kernel: 5.17.7-xanmod1 x86_64 bits: 64 compiler: gcc
  v: 11.2.0 parameters: BOOT_IMAGE=/boot/vmlinuz-5.17.7-xanmod1
  root=UUID=1dd447f7-2ae1-47c5-81cc-8584b22766d3 ro mitigations=off quiet
  splash vt.handoff=7
Desktop: GNOME 42.0 tk: GTK 3.24.33 wm: gnome-shell dm: GDM3 42.0
  Distro: Ubuntu 22.04 LTS (Jammy Jellyfish)
  Machine:
Type: Portable System: Dell product: Inspiron 3442 v: N/A
Mobo: Dell model: 0T57PC v: A16 serial:  UEFI: Dell
  v: A16 date: 09/02/2020
  Battery:
ID-1: BAT0 charge: 14.9 Wh (100.0%) condition: 14.9/41.4 Wh (36.0%)
  volts: 16.8 min: 14.8 model: SMP-SDI2.8 DELL FW1MN31 type: Li-ion
  serial: 4862 status: Full
  Memory:
RAM: total: 3.75 GiB 
  Display: wayland server: X.org v: 1.21.1.3 with: Xwayland v: 22.1.1
  compositor: gnome-shell driver: X: loaded: modesetting unloaded: 
fbdev,vesa
  gpu: i915 display-ID: 0
Monitor-1: eDP-1 model: AU Optronics built: 2013 res: 1366x768 dpi: 112
  gamma: 1.2 size: 309x173mm (12.2x6.8") diag: 354mm (13.9") ratio: 16:9
  modes: 1366x768
OpenGL: renderer: Mesa Intel HD Graphics (HSW GT1) v: 4.6 Mesa 22.0.1
  compat-v: 3.1 direct render: Yes
  Drives:
Local Storage: total: 1.14 TiB used: 916.19 GiB (78.7%)
ID-1: /dev/sda maj-min: 8:0 vendor: Western Digital
  model: WD7500BPVX-75JC3T0 size: 698.64 GiB block-size: physical: 4096 B
  logical: 512 B speed: 6.0 Gb/s type: HDD rpm: 5400 serial: WXA1A33W6463
  rev: 1A01 scheme: GPT
ID-2: /dev/sdb maj-min: 8:16 vendor: Seagate model: ST500LM012 HN-M500MBB
  size: 465.76 GiB block-size: physical: 4096 B logical: 512 B
  speed: 3.0 Gb/s type: HDD rpm: 5400 serial: S2S7J9DC911744 rev: 0001
  scheme: GPT
  Swap:
Kernel: swappiness: 30 (default 60) cache-pressure: 50 (default 100)
ID-1: swap-1 type: zram size: 2.79 GiB used: 0 KiB (0.0%) priority: 5
  dev: /dev/zram0
ID-2: swap-2 type: zram size: 2.79 GiB used: 0 KiB (0.0%) priority: 5
  dev: /dev/zram1

  $ apt-cache policy gnome-shell
  gnome-shell:
Installed: 42.0-2ubuntu1
Candidate: 42.0-2ubuntu1
Version table:
   *** 42.0-2ubuntu1 500
  500 https://mirror.internet.asn.au/pub/ubuntu/archive jammy/main 
amd64 Packages
  100 /var/lib/dpkg/status
  --- 
  ProblemType: Bug
  ApportVersion: 2.20.11-0ubuntu82.1
  Architecture: amd64
  CasperMD5CheckResult: pass
  CurrentDesktop: ubuntu:GNOME
  DisplayManager: gdm3
  DistroRelease: Ubuntu 22.04
  InstallationDate: Installed on 2022-04-10 (38 days ago)
  InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - Daily amd64 (20220409)
  NonfreeKernelModules: wl
  Package: gnome-shell 42.0-2ubuntu1
  PackageArchitecture: amd64
  RelatedPackageVersions: mutter-common 42.0-3ubuntu2
  Tags: third-party-packages jammy
  Uname: Linux 5.17.8-xanmod1 x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dip lpadmin lxd plugdev sambashare sudo video
  _MarkForUpload: True

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


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1973638] Re: gnome-shell 42 leaks tens of megabytes with every screenshot

2022-05-19 Thread Sugihwaras
apport information

** Tags added: apport-collected third-party-packages

** Description changed:

  i running wine program and i want doing a lot screenshot. after did it
  and close program. my system very laggy. i see at htop program my ram
  and swap full.
  
  my system info.
  
  Host: mantari Kernel: 5.17.7-xanmod1 x86_64 bits: 64 compiler: gcc
  v: 11.2.0 parameters: BOOT_IMAGE=/boot/vmlinuz-5.17.7-xanmod1
  root=UUID=1dd447f7-2ae1-47c5-81cc-8584b22766d3 ro mitigations=off quiet
  splash vt.handoff=7
Desktop: GNOME 42.0 tk: GTK 3.24.33 wm: gnome-shell dm: GDM3 42.0
  Distro: Ubuntu 22.04 LTS (Jammy Jellyfish)
  Machine:
Type: Portable System: Dell product: Inspiron 3442 v: N/A
Mobo: Dell model: 0T57PC v: A16 serial:  UEFI: Dell
  v: A16 date: 09/02/2020
  Battery:
ID-1: BAT0 charge: 14.9 Wh (100.0%) condition: 14.9/41.4 Wh (36.0%)
  volts: 16.8 min: 14.8 model: SMP-SDI2.8 DELL FW1MN31 type: Li-ion
  serial: 4862 status: Full
  Memory:
RAM: total: 3.75 GiB 
  Display: wayland server: X.org v: 1.21.1.3 with: Xwayland v: 22.1.1
  compositor: gnome-shell driver: X: loaded: modesetting unloaded: 
fbdev,vesa
  gpu: i915 display-ID: 0
Monitor-1: eDP-1 model: AU Optronics built: 2013 res: 1366x768 dpi: 112
  gamma: 1.2 size: 309x173mm (12.2x6.8") diag: 354mm (13.9") ratio: 16:9
  modes: 1366x768
OpenGL: renderer: Mesa Intel HD Graphics (HSW GT1) v: 4.6 Mesa 22.0.1
  compat-v: 3.1 direct render: Yes
  Drives:
Local Storage: total: 1.14 TiB used: 916.19 GiB (78.7%)
ID-1: /dev/sda maj-min: 8:0 vendor: Western Digital
  model: WD7500BPVX-75JC3T0 size: 698.64 GiB block-size: physical: 4096 B
  logical: 512 B speed: 6.0 Gb/s type: HDD rpm: 5400 serial: WXA1A33W6463
  rev: 1A01 scheme: GPT
ID-2: /dev/sdb maj-min: 8:16 vendor: Seagate model: ST500LM012 HN-M500MBB
  size: 465.76 GiB block-size: physical: 4096 B logical: 512 B
  speed: 3.0 Gb/s type: HDD rpm: 5400 serial: S2S7J9DC911744 rev: 0001
  scheme: GPT
  Swap:
Kernel: swappiness: 30 (default 60) cache-pressure: 50 (default 100)
ID-1: swap-1 type: zram size: 2.79 GiB used: 0 KiB (0.0%) priority: 5
  dev: /dev/zram0
ID-2: swap-2 type: zram size: 2.79 GiB used: 0 KiB (0.0%) priority: 5
  dev: /dev/zram1
  
  $ apt-cache policy gnome-shell
  gnome-shell:
Installed: 42.0-2ubuntu1
Candidate: 42.0-2ubuntu1
Version table:
   *** 42.0-2ubuntu1 500
  500 https://mirror.internet.asn.au/pub/ubuntu/archive jammy/main 
amd64 Packages
  100 /var/lib/dpkg/status
+ --- 
+ ProblemType: Bug
+ ApportVersion: 2.20.11-0ubuntu82.1
+ Architecture: amd64
+ CasperMD5CheckResult: pass
+ CurrentDesktop: ubuntu:GNOME
+ DisplayManager: gdm3
+ DistroRelease: Ubuntu 22.04
+ InstallationDate: Installed on 2022-04-10 (38 days ago)
+ InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - Daily amd64 (20220409)
+ NonfreeKernelModules: wl
+ Package: gnome-shell 42.0-2ubuntu1
+ PackageArchitecture: amd64
+ RelatedPackageVersions: mutter-common 42.0-3ubuntu2
+ Tags: third-party-packages jammy
+ Uname: Linux 5.17.8-xanmod1 x86_64
+ UpgradeStatus: No upgrade log present (probably fresh install)
+ UserGroups: adm cdrom dip lpadmin lxd plugdev sambashare sudo video
+ _MarkForUpload: True

** Attachment added: "Dependencies.txt"
   
https://bugs.launchpad.net/bugs/1973638/+attachment/5591269/+files/Dependencies.txt

-- 
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/1973638

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

Status in GNOME Shell:
  Unknown
Status in gnome-shell package in Ubuntu:
  Triaged

Bug description:
  i running wine program and i want doing a lot screenshot. after did it
  and close program. my system very laggy. i see at htop program my ram
  and swap full.

  my system info.

  Host: mantari Kernel: 5.17.7-xanmod1 x86_64 bits: 64 compiler: gcc
  v: 11.2.0 parameters: BOOT_IMAGE=/boot/vmlinuz-5.17.7-xanmod1
  root=UUID=1dd447f7-2ae1-47c5-81cc-8584b22766d3 ro mitigations=off quiet
  splash vt.handoff=7
Desktop: GNOME 42.0 tk: GTK 3.24.33 wm: gnome-shell dm: GDM3 42.0
  Distro: Ubuntu 22.04 LTS (Jammy Jellyfish)
  Machine:
Type: Portable System: Dell product: Inspiron 3442 v: N/A
Mobo: Dell model: 0T57PC v: A16 serial:  UEFI: Dell
  v: A16 date: 09/02/2020
  Battery:
ID-1: BAT0 charge: 14.9 Wh (100.0%) condition: 14.9/41.4 Wh (36.0%)
  volts: 16.8 min: 14.8 model: SMP-SDI2.8 DELL FW1MN31 type: Li-ion
  serial: 4862 status: Full
  Memory:
RAM: total: 3.75 GiB 
  Display: wayland server: X.org v: 1.21.1.3 with: Xwayland v: 22.1.1
  compositor: gnome-shell driver: X: loaded: modesetting unloaded: 
fbdev,vesa
  gpu: i915 display-ID: 0
Monitor-1: eDP-1 model: AU Optronics built: 2013 res: 1366x768 dpi: 112
  gamma: 1.2 size: