LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 06-23-2017, 07:50 AM   #1
lin66uxx
Member
 
Registered: Oct 2012
Distribution: debian11
Posts: 212

Rep: Reputation: Disabled
memory leak on Gnome 3.22.2 on Debian 9


Hi all,

Has any of you noticed that gnome-shell leaks memory under Gnome 3.22.2 on Debian9?

I have thinkpad with 4GB RAM and 7GB SWAP and the amount of memory the gnome-shell consumes keeps rising as shown on the top command.

Does any of you has the same problem? is there a solution to it? I had it with gnome 3.14 and thought it will be fixed on the release of debian9 ?!

any help would be appreciated,
thnx
 
Old 06-24-2017, 08:33 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,830

Rep: Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308
would be nice to give us more details, at least the configuration of it. top is not the best tool to detect memory leak.
here: https://launchpad.net/gnome-shell you can report bugs.
 
Old 06-24-2017, 08:54 AM   #3
lin66uxx
Member
 
Registered: Oct 2012
Distribution: debian11
Posts: 212

Original Poster
Rep: Reputation: Disabled
Hi,

I upgraded from 8.9 by modifying the sources.list file and changing jessie by stretch, and it was still happening on debian 8,
tried different DM such as sddm and lightdm and it still continue to consume more RAM, Alt F2 r frees the gnome-shell extra RAM usage.
I use the dark theme, have the Weather applet running, firefox 54.

What exactly you need to know regarding the configurations? which is the best tool to watch for memory usage?

p.s. I noticed in the gnome-system-monitor that there is another gnome-shell process owned by Debian-gdm but it does not leak memory.

Also I use intel graphic driver, could it leak memory? is it possible at all to use nvidia driver?

Thnx,

Last edited by lin66uxx; 06-24-2017 at 09:32 AM.
 
Old 06-24-2017, 12:28 PM   #4
lin66uxx
Member
 
Registered: Oct 2012
Distribution: debian11
Posts: 212

Original Poster
Rep: Reputation: Disabled
could it be a problem with my hardware?
I have 3rd generation i7 intel processor on E530 thinkpad, it is considered old laptop but it is quite good !
 
Old 06-24-2017, 04:28 PM   #5
stutschka
LQ Newbie
 
Registered: Jan 2009
Posts: 1

Rep: Reputation: 0
I have the same problem on a T400
Debian 8 was fine. Since the upgrade I have constant freezes.
How can I find out what is wrong?

Last edited by stutschka; 06-24-2017 at 04:29 PM.
 
Old 06-26-2017, 01:11 AM   #6
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,830

Rep: Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308
please do not hide other threads. I don't think your problem (constant freezes) is the same as the original issue.

Last edited by pan64; 06-26-2017 at 02:10 AM.
 
Old 06-26-2017, 02:09 AM   #7
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,830

Rep: Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308
Quote:
Originally Posted by lin66uxx View Post
Hi,

I upgraded from 8.9 by modifying the sources.list file and changing jessie by stretch, and it was still happening on debian 8,
tried different DM such as sddm and lightdm and it still continue to consume more RAM, Alt F2 r frees the gnome-shell extra RAM usage.
I use the dark theme, have the Weather applet running, firefox 54.

What exactly you need to know regarding the configurations? which is the best tool to watch for memory usage?

p.s. I noticed in the gnome-system-monitor that there is another gnome-shell process owned by Debian-gdm but it does not leak memory.

Also I use intel graphic driver, could it leak memory? is it possible at all to use nvidia driver?

Thnx,
I'm still not sure if memory was really leaked at all.
I don't really know what's going on (because I can't see your linux), but any app may eat more and more ram as it is working on something, this may or may not mean memory related issues. Also you may need to learn how memory handled at all to understand why it may happen.
Probably www.linuxatemyram.com will give you some additional insight.
 
1 members found this post helpful.
Old 06-26-2017, 08:27 AM   #8
lin66uxx
Member
 
Registered: Oct 2012
Distribution: debian11
Posts: 212

Original Poster
Rep: Reputation: Disabled
memory leak is when memory is not freed and not pointed to by a pointer, like in C programming language.

I think it is one of the shell extensions I have installed , I disabled all of them and it is better now.

thnx
 
Old 06-26-2017, 08:32 AM   #9
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,830

Rep: Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308
but you are not able to check if that memory is really in use or leaked (there is a pointer or there is no such pointer).
 
Old 06-26-2017, 08:35 AM   #10
lin66uxx
Member
 
Registered: Oct 2012
Distribution: debian11
Posts: 212

Original Poster
Rep: Reputation: Disabled
if gnome-shell usage of RAM was climbing continuously, and never get bellow the max it reaches, and using Alt F2 r releases all these amounts of RAM then it is very likely leaked by one of the extensions I had ...!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Chrome Memory Leak on Debian Jessie mpyusko Debian 10 04-16-2015 04:10 PM
[SOLVED] Memory leak: How risky not to free allocated memory. kaz2100 Linux - General 1 12-24-2008 12:00 AM
Inactive memory issue, Freebsd (memory leak?) JasperB *BSD 7 08-12-2008 03:19 AM
Memory Leak?! RoaCh Of DisCor Linux - General 9 05-07-2005 12:26 AM
Memory Leak when using memory debugging C program on SuSE SLES8 babalina Linux - Distributions 0 10-06-2003 09:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 01:46 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration