You are not logged in.

#1 2014-09-09 09:00:50

justin-8
Member
From: Queensland, Australia
Registered: 2013-06-18
Posts: 53

Memory leak

Hi all,

I've got quite an odd issue I've been experiencing the past month or two that I haven't been able to resolve.

I've got a memory leak of *something* on my work laptop, I run a similar environment on my home desktop which is not experiencing any sort of memory leak, I've instead had to reboot my laptop 1-2 times a day to stop it from running out of memory and locking up.

It's only been the last few days that I've actually been attempting to figure out what is causing it (being busy doing work on my work laptop and all that nonsense), but here is a graph of the memory usage from today: http://i.imgur.com/itSXzDl.png And one from right now; having been turned on for a short time, with only chromium and terminator being opened since boot: http://i.imgur.com/SyLLzdf.png The incline is pretty slow at the moment, but if I run up a VM or two it can run out very fast.

No particular process appears to be using a crazy amount of memory: (output of ps -A all --sort vsz) http://hastebin.com/uvicudeton.mel

Does anyone have any ideas on how to track what processes that might be causing this? There are no extraordinarily high number of processes, and no huge outliers that are taking up lots of memory.

Offline

#2 2014-09-09 10:37:13

GloW_on_dub
Member
Registered: 2013-03-13
Posts: 388

Re: Memory leak

To get a clearer ps output about memory i use :

ps -e -o pid,vsz,comm= | sort -n -k 2

But in your case i'm not sure it is gonna help.

Offline

#3 2014-09-10 05:05:20

justin-8
Member
From: Queensland, Australia
Registered: 2013-06-18
Posts: 53

Re: Memory leak

It currently appears that upgrading to kernel 3.16.2 when it came out the other day has finally fixed this issue. (which I had from ~3.15.10)

Offline

#4 2014-09-10 08:09:49

cafe
Member
Registered: 2014-03-20
Posts: 156

Re: Memory leak

gnome-shell is leaking like hell since 3.10 or 3.12.. I've switched to kde, so far, so good.
although I prefer gnome, it was unbearable to end the day with more than 1Gb of memory leak..

Offline

#5 2014-09-10 09:33:15

justin-8
Member
From: Queensland, Australia
Registered: 2013-06-18
Posts: 53

Re: Memory leak

I found gnome shell hit a cap of around 1.8-1.9gb on any of my systems. More than it should, but my work desktop has the least ram of any system I use, and it has 10GB of ram, so it hasn't concerned me so much yet.

But having 13-14GB used by a combination of gnome/chromium/terminator was killing me.

Offline

#6 2014-09-13 05:41:08

Pse
Member
Registered: 2008-03-15
Posts: 413

Re: Memory leak

I've never seen gnome-shell hit such high memory usage. It is sitting here at 498MiB (as reported by gnome-system-monitor) after a whole day without rebooting. Chromium is the main offender in my case, but I would not consider it as leaking, just memory hungry.

Offline

#7 2014-09-13 08:32:23

justin-8
Member
From: Queensland, Australia
Registered: 2013-06-18
Posts: 53

Re: Memory leak

It has a resident set size of ~500-600MB for me usually, but has 1.8-2.2GB allocated most of the time.

Offline

Board footer

Powered by FluxBB