[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: X windows high memory usage
On Fri, Jul 13, 2001 at 11:28:10PM +0300, Matan Ziv-Av wrote:
>
> On Fri, 13 Jul 2001, Uri Shohet wrote:
>
> > According to top, my X windows uses 71 to 80 MB of memory. How can this be?
> > On my machine in the office it uses 14-18 MB maximum - same RedHat 7.1, same
> > kernel 2.4.5-10 and XFree86-4.1.0-0.0.1 from Rawhide, same glibc-2.2.3-10.
>
> The reported memory usage of X includes the mappings of the framebuffer
> and the register aperture, so it is very likely that 64 MB of the
> reported size is actually not taked out of you RAM.
It would makes sense that a home machine would have more video memory
than an office machine. This memory would likely be mapped into X
completely. Is that the case?
I recommend using the "memstat" utility. It tells you not only how much
memory each process is using, but how much of it is the actual allocated
memory, how much is the shared libraries and executables, device memory
mapping (the probable case with X) and so on.
=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il