How to disable/limit pixmap cache in X

Jim Kronebusch jim at winonacotter.org
Wed Sep 19 09:16:31 PDT 2007


On Wed, 19 Sep 2007 08:11:35 -0700, Alan Coopersmith wrote
> Daniel Stone wrote:
> > So, either way, the answer comes down to 'look at the app'.  (Or, 'don't
> > use Firefox'.)
> 
> Or help those working to fix Firefox:
> 
> http://primates.ximian.com/~federico/news-2005-11.html#moz-images
> http://primates.ximian.com/~federico/news-2007-09.html#firefox-memory-1
> https://bugzilla.mozilla.org/show_bug.cgi?id=259672

I rebuilt Firefox last night with Federico's patch and it does help.  I then modified
the time in the patch for how long to store pixmaps before release from 5 seconds to .2
and built Firefox again.  This made the problem almost disappear, of course real graphic
intense pages were dreadfully slow (but these sites are on the extreme side of things)
but the client and Firefox were both rock solid stable.

So I think a fix is on the horizon for Firefox which is hands down the largest offender.
 But there are still other apps such as OpenOffice that will cause client instability. 
That was the reason for heading to this list in search of a possible solution.  

I did mess around with xorg.conf options such as XAANoOffscreenPixmaps,
XaaNoPixmapCache, an NoAccel in the device section.  I was unable to get them to have
any effect but I also am not sure I am using them properly or if they should even have
any effect on my problem.

Jim

-- 
This message has been scanned for viruses and
dangerous content by the Cotter Technology 
Department, and is believed to be clean.




More information about the xorg mailing list