After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 705732 - Memory leak consumes 1GB about every 10 minutes
Memory leak consumes 1GB about every 10 minutes
Status: RESOLVED FIXED
Product: gnome-shell
Classification: Core
Component: general
3.8.x
Other Linux
: Normal normal
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
Depends on:
Blocks:
 
 
Reported: 2013-08-09 18:04 UTC by David.Mulder
Modified: 2014-03-12 10:23 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
gnome memory usage (37.88 KB, image/png)
2013-09-13 21:53 UTC, Unsolved Cypher
Details

Description David.Mulder 2013-08-09 18:04:12 UTC
Memory leak consumes 1GB about every 10 minutes

This is a huge memory leak. I have to restart gnome-shell about once an hour to an hour and a half (I have 8GB of memory). This started when I updated to 3.8.4-1.2-x86_64 a couple of days ago.

openSUSE 12.3 x86_64.
Comment 1 David.Mulder 2013-08-09 18:10:33 UTC
I just deleted several extensions (all of which broke when I updated gnome-shell), and I'll see if that fixes it.
Comment 2 David.Mulder 2013-08-09 18:31:13 UTC
Ok, deleting shell extensions did not make a difference.
Comment 3 Jasper St. Pierre (not reading bugmail) 2013-08-10 01:21:40 UTC
So you are now running without extensions? Can you please run gnome-shell under valgrind to see if the issue still happens, and give us a gzip'd valgrind log we can use for debugging?
Comment 4 André Klapper 2013-08-10 04:00:54 UTC
...see section "Debugging GNOME Shell with valgrind" on https://wiki.gnome.org/GnomeShell/Debugging
Comment 5 Unsolved Cypher 2013-09-13 21:53:13 UTC
Created attachment 254888 [details]
gnome memory usage
Comment 6 Unsolved Cypher 2013-09-13 21:54:27 UTC
I'm having this issue as well. I've posted a screenshot. I'm running on Intel Graphics 2000, and my system seems a lot less responsive since the last graphics update. I will try running GNOME with valgrind if the problem persists.
Comment 7 Unsolved Cypher 2013-09-15 18:57:36 UTC
Ok, the problem is persisting, so I tried to follow the instructions on the GNOME Debugging Page. When I run run from gdb, it says that there was a window manager error and that it was unable to open the X display. What am I doing wrong?
  Thanks!
Comment 8 André Klapper 2013-09-16 08:43:28 UTC
This should only happen if you use a console instead of a terminal window within GNOME. Type "w" to find your display (normally it's :0.0) and export your display via:     export DISPLAY=:0.0
Comment 9 David.Mulder 2013-09-16 16:29:31 UTC
This is not happening in gnome-shell 3.8.4-7.1. I had the problem in gnome-shell 3.8.4-2.2 (I think). I just updated to openSUSE tumbleweed and the problem went away.
Comment 10 Unsolved Cypher 2013-09-25 19:16:08 UTC
Sorry, it looks like the memory leak was an extension issue, not a GNOME one. Should I submit my valgrind log to the author of the extension, or is there a different process for extensions?
  Thank you!
Comment 11 Ray Strode [halfline] 2013-09-26 14:35:41 UTC
3.8.4 has a bad memory leak in. most distros have patched it revert the offending commit. See bug 704646 for more details.
Comment 12 Debarshi Ray 2014-03-12 10:23:16 UTC
From comment 9 and comment 10 it appears as if the problem was either solved by reverting the offending that Ray refers to, or it was an extension issue to begin with.

Please feel free to re-open if you have reasons to believe otherwise.