How to disable/limit pixmap cache in X

Jim Kronebusch jim at winonacotter.org
Wed Sep 19 08:39:56 PDT 2007


> Maybe you could write a shim library (inserted between the app and Xlib 
> with LD_PRELOAD) that intercepted pixmap create/destroy calls and kept 
> an approximate count of memory usage.  When some memory threshold is 
> hit, exit.

I doubt I could :-)  But I'll post your suggestion on one of the LTSP devel lists and
see if anyone there thinks this might be plausible. 

> Of course, it would rely on clients actually using the shim.  But maybe 
> you can control that in your environment.
> 
> Something like this could probably be implemented on the server side as 
> an extension, but don't quote me on that.
> 
> -Brian

Thanks for the suggestion.

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