RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1546302 - possible memory leak in Gnome
Summary: possible memory leak in Gnome
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: gnome-shell
Version: 7.4
Hardware: x86_64
OS: Linux
high
medium
Target Milestone: rc
: ---
Assignee: Florian Müllner
QA Contact: Desktop QE
URL:
Whiteboard:
: 1079940 (view as bug list)
Depends On:
Blocks: 1594286 1649362 1656436 1666809 1667994 1669048 1708741 1713081 1717000 1719819 1881217 1881995 1882009 1882574 1882821 1887741 1888675 1888676 1888678 1888682
TreeView+ depends on / blocked
 
Reported: 2018-02-16 20:02 UTC by Joe Wright
Modified: 2022-03-13 14:42 UTC (History)
22 users (show)

Fixed In Version: gjs-1.52.5-1.el7
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1666809 1667994 1669048 (view as bug list)
Environment:
Last Closed: 2019-08-06 12:37:16 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Reproducer script (327 bytes, application/x-shellscript)
2018-10-18 06:27 UTC, Divya
no flags Details


Links
System ID Private Priority Status Summary Last Updated
GNOME Bugzilla 642652 0 Normal RESOLVED Major memory leak on mutter when using gnome-shell 2021-02-03 02:54:29 UTC
Red Hat Product Errata RHBA-2019:2044 0 None None None 2019-08-06 12:38:31 UTC

Description Joe Wright 2018-02-16 20:02:36 UTC
Created attachment 1397168 [details]
ps aux output

Description of problem:
Possible memory leak in Gnome, seems to build up over a few days.

Version-Release number of selected component (if applicable):
- gnome-shell-3.22.3-17.el7.x86_64

How reproducible:
- over a few days, customer environment

Steps to Reproduce:
1. Let Gnome run and be used for a few days
2. system eventually boggs down
3.

Actual results:
- system eventually runs at a crawl

Expected results:


Additional info:

Gnome-shell seems to be the biggest offender here

Gnome-shell:
(ps aux)
724  2.9 77.3 10705580 6195892 ?    Sl   Feb05 457:26 /usr/bin/gnome-shell

Comment 9 Leslie Satenstein 2018-03-27 03:26:52 UTC
Here is a way to demonstrate a memory leak.

Begin your gome session.
Invoke "system" (a gnome utility) that shows memory use by application name.
focus on gnome-shell
On a fresh logon, the shell will show around 200megs consumed
invoke aisleriot  a few times and exit
Each time aisleriot is invoked, it consumes around 5 megs
On exit, the 5 megs do not appear returned to the shell.

More simpletest. 
invoke aisleriot and then firefox and then aisleriot
you will find that the gnome-shell memory use is monotonic increasing, even after quitting firefox and aisleriot

Other gnome programs cause a similar effect.

Programs that do not use gnome-shell (Dropbox), on exit, return all memory that was assigned.


Footnote.
Is the monotonic memory increase shown by gnome-shell due to the shell or to Aisleriot / firefox, both not releasing memory back to the system?

Comment 16 Divya 2018-10-18 06:27:34 UTC
Created attachment 1495165 [details]
Reproducer script

Comment 44 Ray Strode [halfline] 2019-01-29 16:13:45 UTC
*** Bug 1079940 has been marked as a duplicate of this bug. ***

Comment 56 errata-xmlrpc 2019-08-06 12:37:16 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2019:2044


Note You need to log in before you can comment on or make changes to this bug.