Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Desktop Environments
  • Search

Gnome shell memleaks?

Problems with GUI applications? Questions about X, KDE, Gnome, Fluxbox, etc.? Come on in. NOTE: For multimedia, go up one forum
Post Reply
Advanced search
12 posts • Page 1 of 1
Author
Message
jelf
n00b
n00b
Posts: 8
Joined: Tue Jul 01, 2014 10:40 pm

Gnome shell memleaks?

  • Quote

Post by jelf » Tue Jul 01, 2014 11:03 pm

Hello.
I'm using "GNOME Shell 3.10.4" with "x11-drivers/nvidia-drivers-337.25". I neither use any extensions (according to "eselect gnome-shell-extensions") nor manualy installed them, so it seems to memory leak in gnome shell, becose it uses less then 1G memory on startup, but more then 2.6G after a day of work (when all windows are closed). It also use much processor time at this moments. I do not sure this is a memory leak, but have no other ideas how to explain this.
This problem is most often seen after playing video games via wine or watching video via vlc. I don't know, what information i should attach, if there isn't a common problem. However i will attach make.conf, just in case this problem is about use flags
PS should i select only nvidia in my VIDEO_CARDS, or it is better to save nouveau there too?
PPS i am using amd64

Make.conf: http://pastebin.com/n64sKb7c

Solved: using systemd fixed all possibly leaks (didn't tested with system monitor extension)
Last edited by jelf on Fri Aug 08, 2014 6:56 am, edited 1 time in total.
Sorry for my english, i'm trying
Top
russK
l33t
l33t
User avatar
Posts: 665
Joined: Tue Jun 27, 2006 3:44 am

  • Quote

Post by russK » Wed Jul 02, 2014 1:05 am

I think you might be on to something, it looks like I may have the same issue, I just never noticed because I have much more memory than I need.

I noticed just now that you can use 'gnome-shell -r' (replace) which will start a new process and kick the old one out. It's mildly disruptive but the memory footprint goes back down to what it was when first started.
Top
mackal
Tux's lil' helper
Tux's lil' helper
Posts: 92
Joined: Thu Aug 04, 2011 5:58 am
Contact:
Contact mackal
Website

  • Quote

Post by mackal » Wed Jul 02, 2014 1:09 am

You can also hit Alt+F2 and type r to restart gnome-shell. I have also noticed it uses a lot of memory but I also have too much RAM :P
Top
jelf
n00b
n00b
Posts: 8
Joined: Tue Jul 01, 2014 10:40 pm

  • Quote

Post by jelf » Wed Jul 02, 2014 1:45 am

russK wrote:I think you might be on to something, it looks like I may have the same issue, I just never noticed because I have much more memory than I need.

I noticed just now that you can use 'gnome-shell -r' (replace) which will start a new process and kick the old one out. It's mildly disruptive but the memory footprint goes back down to what it was when first started.
It works, and works better, then xdm restart :). Thank you a lot
Sorry for my english, i'm trying
Top
greyspoke
Apprentice
Apprentice
Posts: 175
Joined: Fri Jan 08, 2010 9:28 am

  • Quote

Post by greyspoke » Wed Jul 02, 2014 9:59 am

This was discussed on this thread here.

There is a Gnome bug about it (in addition to the link I posted back there) here. Though it is not clear that Gnome recognise them as bugs from the comments by the devs on that.
Top
jelf
n00b
n00b
Posts: 8
Joined: Tue Jul 01, 2014 10:40 pm

  • Quote

Post by jelf » Wed Jul 02, 2014 12:18 pm

greyspoke wrote:This was discussed on this thread here.

There is a Gnome bug about it (in addition to the link I posted back there) here. Though it is not clear that Gnome recognise them as bugs from the comments by the devs on that.
Ouch, it seems not to be solvable by masking/unmasking :( Interesting that i never noticed this on previous system :(
Sorry for my english, i'm trying
Top
Thistled
Guru
Guru
User avatar
Posts: 572
Joined: Thu Jan 06, 2011 6:57 pm
Location: Scotland
Contact:
Contact Thistled
Website

  • Quote

Post by Thistled » Wed Jul 02, 2014 12:44 pm

Yep, it's been doing this for about a year on my box.

If you enable the system monitor extension you will lose RAM in no time at all.
Without the system monitor enabled, you will lose RAM over a longer period of time.

When you only have 4Gb of RAM, you notice this in no time at all.

As suggested above Alt+F2 followed by r will restore the RAM.

I did notice when the memory mappings (or whatever it's called) are checked, there is a dump file which is swallowing the RAM.

This has been around for a while, and I don't know why it has not been addressed.
Perhaps it's unique to Gentoo, and that is why it is taking so long.

If I could code I would help out. But alas.
Whatever you do, do it properly!
Top
jelf
n00b
n00b
Posts: 8
Joined: Tue Jul 01, 2014 10:40 pm

  • Quote

Post by jelf » Wed Jul 02, 2014 8:08 pm

Thistled wrote:Yep, it's been doing this for about a year on my box.

If you enable the system monitor extension you will lose RAM in no time at all.
Without the system monitor enabled, you will lose RAM over a longer period of time.

When you only have 4Gb of RAM, you notice this in no time at all.

As suggested above Alt+F2 followed by r will restore the RAM.

I did notice when the memory mappings (or whatever it's called) are checked, there is a dump file which is swallowing the RAM.

This has been around for a while, and I don't know why it has not been addressed.
Perhaps it's unique to Gentoo, and that is why it is taking so long.

If I could code I would help out. But alas.
Can you tell me more about that file? Where was it located? I hope to find solution in gnome configuration files / just in sources using "find"
Sorry for my english, i'm trying
Top
Thistled
Guru
Guru
User avatar
Posts: 572
Joined: Thu Jan 06, 2011 6:57 pm
Location: Scotland
Contact:
Contact Thistled
Website

  • Quote

Post by Thistled » Thu Jul 03, 2014 3:16 pm

Sure Jelf.

Open Gnome-system-monitor
Right click on "gnome-shell"
Select "Memory Maps"

It will display all the processes using memory for Gnome Shell.

In my case, the file in question had "dump" in the title and was consuming memory every fews seconds.

Hope this helps.
Whatever you do, do it properly!
Top
jelf
n00b
n00b
Posts: 8
Joined: Tue Jul 01, 2014 10:40 pm

  • Quote

Post by jelf » Thu Jul 03, 2014 3:30 pm

Thistled, i do not have "dump" file there. Sure about that.
Anyway, thank you for this method, i'd never used it before, but it may be usefull
Sorry for my english, i'm trying
Top
Thistled
Guru
Guru
User avatar
Posts: 572
Joined: Thu Jan 06, 2011 6:57 pm
Location: Scotland
Contact:
Contact Thistled
Website

  • Quote

Post by Thistled » Thu Jul 03, 2014 4:29 pm

Okay Jelf.

If you were to enable the system monitor extension then I guess you would see the dump file.

If you carefully scan the "memory map" for gnome-shell, you should be able to see which process
is gradually consuming the memory.

Hope this helps.
Whatever you do, do it properly!
Top
jelf
n00b
n00b
Posts: 8
Joined: Tue Jul 01, 2014 10:40 pm

  • Quote

Post by jelf » Fri Aug 08, 2014 6:54 am

Okay, i have the solution: never use desktop/gnome profile, only desktop/gnome/systemd. Damn
Sorry for my english, i'm trying
Top
Post Reply

12 posts • Page 1 of 1

Return to “Desktop Environments”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic