debcrafters-packages team mailing list archive
-
debcrafters-packages team
-
Mailing list archive
-
Message #00248
[Bug 2110355] Re: gnome-system-monitor memory leak
** Description changed:
When gnome-system-monitor started it uses about 52-53Mb of memory. While
it is running for a long period of time the amount of memory used by
gnome-system-monitor is continuously growing. In ten days gnome-system-
monitor uses already 7Gb. It makes the system start to use swap and it
makes a negative impact on the whole system performance. After closing
gnome-system-monitor and starting again it uses about the same 52-53Mb
of RAM.
It is noted that the memory consumption is growing significantly if the
Resources tab with charts is opened for a long period of time. If the
Processes tab is opened then there is a very small growth of memory
consumption, probably even within the margin of error.
+
+ Steps to reproduce:
+ 1. start gnome-system-monitor application
+ 2. open Processes tab
+ 3. find gnome-system-monitor process and remember how much memory it consumes
+ 4. open Resources tab and let it opened for a period of time. (1 hour, 4 hours, night, 1 day or more) Keep the application window opened somewhere on the screen as if you are monitoring charts.
+ 5. when a period of time is passed open Processes tab
+ 6. sort processes by Memory column
+ 7. find gnome-system-monitor process and check how much memory it consumes and compare with the number from step 3
+ 8. go to step 4 to continue test for a longer period of time or stop the test with current results
Expected Result:
gnome-system-monitor uses about the same RAM regardless of how much time it is working
Actual Result:
gnome-system-monitor uses 7Gb of RAM after 10 days of working while right after start it normally uses about 52-53Mb of memory
$ lsb_release -rd
No LSB modules are available.
Description: Ubuntu 24.04.2 LTS
Release: 24.04
$ apt-cache policy gnome-system-monitor
gnome-system-monitor:
Installed: 46.0-1build1
Candidate: 46.0-1build1
Version table:
*** 46.0-1build1 500
500 http://archive.ubuntu.com/ubuntu noble/main amd64 Packages
100 /var/lib/dpkg/status
ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: gnome-system-monitor 46.0-1build1
ProcVersionSignature: Ubuntu 6.11.0-19.19~24.04.1-generic 6.11.11
Uname: Linux 6.11.0-19-generic x86_64
ApportVersion: 2.28.1-0ubuntu3.3
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: ubuntu:GNOME
Date: Sat May 10 12:04:24 2025
InstallationDate: Installed on 2025-02-18 (81 days ago)
InstallationMedia: Ubuntu 24.04.1 LTS "Noble Numbat" - Release amd64 (20240827.1)
RebootRequiredPkgs: Error: path contained symlinks.
SourcePackage: gnome-system-monitor
UpgradeStatus: No upgrade log present (probably fresh install)
--
You received this bug notification because you are a member of
Debcrafters packages, which is subscribed to gnome-system-monitor in
Ubuntu.
https://bugs.launchpad.net/bugs/2110355
Title:
gnome-system-monitor memory leak
Status in gnome-system-monitor package in Ubuntu:
New
Bug description:
When gnome-system-monitor started it uses about 52-53Mb of memory.
While it is running for a long period of time the amount of memory
used by gnome-system-monitor is continuously growing. In ten days
gnome-system-monitor uses already 7Gb. It makes the system start to
use swap and it makes a negative impact on the whole system
performance. After closing gnome-system-monitor and starting again it
uses about the same 52-53Mb of RAM.
It is noted that the memory consumption is growing significantly if
the Resources tab with charts is opened for a long period of time. If
the Processes tab is opened then there is a very small growth of
memory consumption, probably even within the margin of error.
Steps to reproduce:
1. start gnome-system-monitor application
2. open Processes tab
3. find gnome-system-monitor process and remember how much memory it consumes
4. open Resources tab and let it opened for a period of time. (1 hour, 4 hours, night, 1 day or more) Keep the application window opened somewhere on the screen as if you are monitoring charts.
5. when a period of time is passed open Processes tab
6. sort processes by Memory column
7. find gnome-system-monitor process and check how much memory it consumes and compare with the number from step 3
8. go to step 4 to continue test for a longer period of time or stop the test with current results
Expected Result:
gnome-system-monitor uses about the same RAM regardless of how much time it is working
Actual Result:
gnome-system-monitor uses 7Gb of RAM after 10 days of working while right after start it normally uses about 52-53Mb of memory
$ lsb_release -rd
No LSB modules are available.
Description: Ubuntu 24.04.2 LTS
Release: 24.04
$ apt-cache policy gnome-system-monitor
gnome-system-monitor:
Installed: 46.0-1build1
Candidate: 46.0-1build1
Version table:
*** 46.0-1build1 500
500 http://archive.ubuntu.com/ubuntu noble/main amd64 Packages
100 /var/lib/dpkg/status
ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: gnome-system-monitor 46.0-1build1
ProcVersionSignature: Ubuntu 6.11.0-19.19~24.04.1-generic 6.11.11
Uname: Linux 6.11.0-19-generic x86_64
ApportVersion: 2.28.1-0ubuntu3.3
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: ubuntu:GNOME
Date: Sat May 10 12:04:24 2025
InstallationDate: Installed on 2025-02-18 (81 days ago)
InstallationMedia: Ubuntu 24.04.1 LTS "Noble Numbat" - Release amd64 (20240827.1)
RebootRequiredPkgs: Error: path contained symlinks.
SourcePackage: gnome-system-monitor
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-system-monitor/+bug/2110355/+subscriptions
References