Re: gnome-shell got memory leaks ?



On Mon, 2012-06-18 at 10:23 +0200, Clemens wrote:
> Am So 17 Jun 2012 18:17:09 CEST schrieb Jasper St. Pierre:
> > Can you just try using nouveau for a day or two to tell if it's the
> > driver's fault or not?
> >
> > On Sun, Jun 17, 2012 at 7:50 AM, 邓尧<torshie gmail com>  wrote:
> >>>
> >>>> After using for about two hours, its memory consumption grows up to
> >>>> more than 2.5G, and keeps growing! Smells like memory leaks :-(
> >>>> I'm using nvidia 295.40 driver.
> >>>> Anyone how to fix this ?
> >>> You should try the Nouveau driver, as NVidia is probably the culprit.
> >>> Other than that, you should report a bug to NVidia, but don't expect a
> >>> fast answer.
> >> I wish I could, but I need nvidia binary driver to develop opencl programs.
> >> If nvidia driver really leaks, probably I will go for the classic gnome or
> >> unity.
> >> I really love gnome-shell, it could speedup my developing a lot.
> >>
> I have the same setup (12.04 64Bit, gnome-shell 3.4.1, nvidia-currnet 
> 295.40 + nvidia-currnet-updates 295.49)
> top says about gnome-shell
>    Virt : 1273m
>    Res: 140m
>    shr: 47
> I created some new windows, dis/enable extension, reload the shell, 
> .... the memory doesn't really change (less then +/-10mb)

You'll never [or very rarely] see the number go down; LINUX memory
management doesn't work that way.  I'd say these numbers aren't too bad
- the one that really counts ( "RSS" - resident ) is pretty low.  But it
does seem like gnome-shell's virtual footprint grows considerably;
mostly this look to be memory allocated for data [ "VmData" ].  

Note that I have several extensions enabled which may drive up the
numbers.

[my gnome-shell process is PID#2656]

awilliam@workstation:~> cat /proc/2656/status | grep -i ^vm
VmPeak:	 2,324,716 kB
VmSize:	 2,248,372 kB
VmLck:	         0 kB
VmHWM: 	   707,884 kB
VmRSS: 	   639,676 kB
VmData:	 1,613,232 kB
VmStk:	       156 kB
VmExe:	        16 kB
VmLib:	    54,936 kB
VmPTE:	     1,088 kB
VmSwap:	         0 kB

gnome-shell-3.2.2.1-2.11.1.x86_64
Linux workstation.wmmi.net 3.1.10-1.9-desktop #1 SMP PREEMPT Thu Apr 5
18:48:38 UTC 2012 (4a97ec8) x86_64 x86_64 x86_64 GNU/Linux


Attachment: signature.asc
Description: This is a digitally signed message part



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]