Memory leaks in Gnome

Le grand pinguin rm at mh-freiburg.de
Fri Nov 5 11:29:30 UTC 2004


On Fri, Nov 05, 2004 at 11:58:37AM +0100, Michel Klijmij wrote:
> Worik (worik at noggon.com) wrote on Fri, 05 Nov 2004 11:09:29 +1300:
> > Has anybody else noticed serious memory leaks in Gnome?
> 
> No.
>  
> > I need to reboot my computer daily, if I neglect to log out and in to 
> > Gnome, as my swap and memory go to 100% usage.
> 
> Linux memory management works a bit more complicated. Most of the memory 
> that seems in use is shared with other apps, and cached. 

Not neccessarily. But there's something worth noting: 'free' et. al. 
need to be studied carefully. Linux _is_ using as much free memory
(i.e. memory _not used_ by applications) for things like file system
buffer etc. Also, applications can allocate a lot of memory (even more
than the system physically has) without any problems - only memory
that's actually _used_ will be used up.

> No matter how 
> much memory you have, Linux will eventually use 100%. If you look at the 
> output of "free" you can see how much of that is cached (ie, that is 
> used if an app needs it again or freed if another app needs it).

Yes, but the OP mentions that he/she has all swap space eaten - _that_
usually doesn't happen :-) [using the swap space to cache disks would
be kind of silly ...].

 Just my 0.02$ 

    Ralf Mattes

> -- 
> Vriendelijke groet,        | E-mail: michel at klijmij.net
>                            | Web   : http://michel.klijmij.net/
>                            | Jabber: michel at jabber.xs4all.nl
> Michel Klijmij             | GPGkey: 0x8A43CF30
> 
> 
> -- 
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> http://lists.ubuntu.com/mailman/listinfo/ubuntu-users




More information about the ubuntu-users mailing list