Re: Some hard numbers on XFree86 memory usage (and no, not ps/top)

Mark Vojkovich <[email protected]>
Newsgroups gmane.comp.xfree86.forum
Message-ID <[email protected]>
On Sat, 19 Apr 2003, Ivan Todoroski wrote:

> One can probably further argue that not all of this memory is selfishly used
> by the X server, that much of it is allocated on behalf of X clients for
> pixmaps and what-not, but exactly how much is allocated on behalf, and whether
> the memory is managed in the most efficient manner (sharing of some stuff
> between clients etc), I cannot tell since I know next to nothing about XFree86
> internals.

    Most of that will be on behalf of the client.  If you are running
XFree86 4.3, run:

    http://www.xfree86.org/~mvojkovi/restest.c 

It will tell you how many bytes worth of pixmaps each client has.
There are other things allocated on behalf of the clients that
can't be read from the X-Resource extension (yet), but the Pixmaps
are by far the largest component. 


			Mark.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.