Le jeudi 03 février 2005 à 17:53 +0100, Loïc Minier a écrit : 
>         Hi,
> 
>  This is a followup for Debian bug <http://bugs.debian.org/285761>.
> 
> [EMAIL PROTECTED] - Wed, Feb 02, 2005:
> 
> > It may be useful to run xrestop for this.  Note: If you just run
> > top,
> ...
> > could you try loading a lot of images without browsing much and
> > compare the X memory usage, maybe using xrestop to check pixmap
> > mem usage.
> > I do not see this leak so it may be a mozilla bug only.
> 
>  I clearly have the leak with Galeon so this could really be the
>  problem (thanks Alban for the tip).  Run xrestop in a xterm, start
>  Galeon, go to www.gimp.org and click on screenshots, once the page is
>  loaded, open up a new Galeon window and close the first one: the Galeon
>  process should still show up with around 8 MB of X resources in
>  xrestop.
> 
>  Jerome, do you see any reason why this wouldn't be your bug?  Given the
>  rate at which mozilla leaks here, I guess it could be the problem.  I
>  intend to merge that bug with the mozilla bug if you're ok with that.
> 
>      Bye,
> 

it also looks like
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=245026 , though this
one was merge with a flashplugin bug/konqueror bug then closed.
But the first reports don't talk about flash and report the same amount
of leakage.

Those three bugs should at least be merged. If only to lighten the
burden over branden and takuo arms :)


Thanks for the gimp example, i was able to reproduce it somehow. But
refreshing or opening the same image in another window does not up the
memory usage. Closing the browser free the memory so it may not an
xserver bug. 
It seems like the image stay in the memory cache. I though they ought to
move to disk cache when the window is closed but maybe i was wrong. At
least the memory cache should have a timeout to avoid us who never close
our browser to avoid memory hog.

I read a bit more about xrestop and found out it often underetimate
memory usage (does not take background pixmaps into account).
http://www.freedesktop.org/Software/xrestop
I don't know what this is , but i though it was a must know and may
explain difference between top and xrestop X memory usage.

Ciao
Alban




Reply via email to