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 665678 - Why does gnome-shell use 3.5+ gigs of memory?
Why does gnome-shell use 3.5+ gigs of memory?
Status: RESOLVED DUPLICATE of bug 685513
Product: gnome-shell
Classification: Core
Component: general
3.1.x
Other Linux
: Normal critical
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
Depends on:
Blocks:
 
 
Reported: 2011-12-06 16:53 UTC by gnome@michaelcole.com
Modified: 2012-11-27 21:53 UTC
See Also:
GNOME target: ---
GNOME version: 3.1/3.2


Attachments
screenshot of memory leak (139.50 KB, image/png)
2011-12-06 16:53 UTC, gnome@michaelcole.com
Details
nvidia drivers in synaptic (341.05 KB, image/png)
2011-12-06 17:53 UTC, gnome@michaelcole.com
Details

Description gnome@michaelcole.com 2011-12-06 16:53:45 UTC
Created attachment 202920 [details]
screenshot of memory leak

The most I ever let it go to was 5.6 gigs, them my computer ran out of memory.

It does this pretty regularly, and the only way I've found to fix it is to log out and back in.  It was slowing down as well - requiring a re-login.  That has gone away, but the memory leak remains.

<code>
~$ lspci
00:00.0 Host bridge: Advanced Micro Devices [AMD] RS880 Host Bridge
00:02.0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (ext gfx port 0)
00:05.0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (PCIE port 1)
00:06.0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (PCIE port 2)
00:11.0 SATA controller: ATI Technologies Inc SB7x0/SB8x0/SB9x0 SATA Controller [IDE mode] (rev 40)
00:12.0 USB Controller: ATI Technologies Inc SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
00:12.2 USB Controller: ATI Technologies Inc SB7x0/SB8x0/SB9x0 USB EHCI Controller
00:13.0 USB Controller: ATI Technologies Inc SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
00:13.2 USB Controller: ATI Technologies Inc SB7x0/SB8x0/SB9x0 USB EHCI Controller
00:14.0 SMBus: ATI Technologies Inc SBx00 SMBus Controller (rev 41)
00:14.1 IDE interface: ATI Technologies Inc SB7x0/SB8x0/SB9x0 IDE Controller (rev 40)
00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA) (rev 40)
00:14.3 ISA bridge: ATI Technologies Inc SB7x0/SB8x0/SB9x0 LPC host controller (rev 40)
00:14.4 PCI bridge: ATI Technologies Inc SBx00 PCI to PCI Bridge (rev 40)
00:14.5 USB Controller: ATI Technologies Inc SB7x0/SB8x0/SB9x0 USB OHCI2 Controller
00:15.0 PCI bridge: ATI Technologies Inc SB700/SB800/SB900 PCI to PCI bridge (PCIE port 0)
00:16.0 USB Controller: ATI Technologies Inc SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
00:16.2 USB Controller: ATI Technologies Inc SB7x0/SB8x0/SB9x0 USB EHCI Controller
00:18.0 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor HyperTransport Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor Miscellaneous Control
00:18.4 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor Link Control
01:00.0 VGA compatible controller: nVidia Corporation GF108 [GeForce GT 430] (rev a1)
01:00.1 Audio device: nVidia Corporation GF108 High Definition Audio Controller (rev a1)
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 03)
03:00.0 USB Controller: NEC Corporation uPD720200 USB 3.0 Host Controller (rev 03)
05:00.0 IDE interface: JMicron Technology Corp. JMB368 IDE controller
</code>

~$ gnome-shell --version
GNOME Shell 3.2.1

Any suggestions?
Comment 1 Rui Matos 2011-12-06 17:47:32 UTC
Are you using the nvidia driver?
Comment 2 gnome@michaelcole.com 2011-12-06 17:52:51 UTC
Hi, yes
nvidia-current 280.13-0ubuntu6
Comment 3 gnome@michaelcole.com 2011-12-06 17:53:48 UTC
Created attachment 202923 [details]
nvidia drivers in synaptic
Comment 4 Rui Matos 2011-12-06 17:58:55 UTC
Could you try the nouveau driver? Perhaps using a live CD if you don't want to mess with your installation? The Fedora 16 live CD would be a good way to try. I'm not sure if Ubuntu uses nouveau by default.
Comment 5 gnome@michaelcole.com 2011-12-06 22:59:43 UTC
Hi, how can I do this with apt-get?
Comment 6 Milan Bouchet-Valat 2011-12-07 08:43:35 UTC
(In reply to comment #5)
> Hi, how can I do this with apt-get?
I think you just need to disable the NVidia proprietary driver in the Restricted drivers config tool.

Or if you can try a LiveCD, just burn it as you did to install Ubuntu.
Comment 7 gnome@michaelcole.com 2011-12-07 16:48:26 UTC
Hi, the nouveau drivers work but for two things:

- Gnome reverts to Gnome Classic (can't test Gnome-shell)
- The "Display" setting doesn't detect my monitors correctly, so the resolution is off.

So, nouveau is no good.
Comment 8 Milan Bouchet-Valat 2011-12-09 08:33:12 UTC
You may want to try installing the latest drivers from NVidia's website, as bugs with the Shell are likely to have been fixed recently.
Comment 9 soprano 2012-01-02 17:16:13 UTC
Indeed gnome-shell seems to have a memory leak. Memory usage increases and is never released (checking through "top").

I have a nvidia proprietary driver too.
Comment 10 Tomasz Sałaciński 2012-02-19 02:03:39 UTC
This doesn't happen when I use compiz, I have properitary Nvidia drivers too. After using GNOME Shell for some time it works slower and slower.

tommy@TommyPC:~$ gnome-shell --version
GNOME Shell 3.2.1
Comment 11 André Klapper 2012-10-16 11:55:06 UTC
Is this still a problem in 3.6?
Comment 12 Chad Rodrigue 2012-11-27 21:49:51 UTC
Yes, this is still a problem in Gnome 3.6.x
Comment 13 Jasper St. Pierre (not reading bugmail) 2012-11-27 21:53:04 UTC
This is a known bug with NVIDIA: their engineers are aware of it, and have it on their TODO lists.

*** This bug has been marked as a duplicate of bug 685513 ***