Xorg leaking memory on -current...
Scott Long
scottl at samsco.org
Tue Oct 31 22:39:03 UTC 2006
Alexander Leidinger wrote:
> Quoting Poul-Henning Kamp <phk at phk.freebsd.dk> (from Tue, 31 Oct 2006
> 08:53:08 +0000):
>
>>> Do you have any long-running clients? X clients can store objects in
>>> the server and some web browsers have been known to simulate Xserver
>>> leaks.
>>
>>
>> It certainly correlates with firefox, but restarting firefox does
>> not relieve the memory pressure.
>
>
> FWIW: On Solaris I also see firefox eating memory. After several days
> with several open tabs with several pictures in each page (for example
> BigBrother and similar stuff) it eats up a lot of swap. After closing
> firefox, it frees some memory (the one firefox itself has eaten up),
> but not the memory the X server has eaten up. When I closed firefox
> several times, X has eaten too much and everything (on the desktop)
> comes to a crawl (more or less). Restarting the X server (xorg BTW)
> everything is back to normal.
>
> AFAIK it's a know firefox bug which isn't even fixed in firefox 2.0
> (despite a lot of requests from users).
>
> Bye,
> Alexander.
>
I think that the Firefox behaviour is actually considered a feature.
Both Mozilla and Firefox appear to cache everything they can, without
bounds. If you tweak a hidden pref to turn off caching, the 'leak'
goes away.
Scott
More information about the freebsd-current
mailing list