>>>> Can anyone explain why X-Windows is using 133M of RAM, even with nothing
>>>> open or running, excluding one terminal window? Are there ways to
>>>> shrink it down? I only discovered this after I hit the machine with a
>>>> rather large scientific application and it balked much earlier than
>>>> I thought it would.
>>>> The machine is a Dell Inspiron 8100 notebook with a 1 Ghz PIII processor
>>>> and 256M Ram. The video card is a GeForce 2 with 32M ram. The
>>>> operating system is vanilla RedHat 7.1 using GNOME. External mouse is
>>>> USB.
>>>> Anyone solved this problem before?
>>>How do you _know_ it's consuming 133MB of RAM?
>>>Because the (lying) ps/top commands say so?
>>>If I were to actually _believe_ my system, I'd think that X was
>>>consuming some 702MB of RAM on a system that only has 640MB.
>> You need to learn the difference between virtual and physical memory.
> I _know_ the difference between virtual and physical memory. And the
> system wasn't swapping, so that wasn't the issue.
The 'problem' is that top/ps/et. al. are showing you all memory
mapped by the process. This include the standard stuff like text/data,
but with an X server, also includes device mappings - like a mmap'd
framebuffer, MMIO region, AGP memory, etc....
--
Xi Graphics, Inc. http://www.xig.com
ID: 1A9A2B09, FP: C23F328A721264E7 B6188192EC733962
PGP keys at http://radscan.com/~jon/PGPKeys.txt
#include <stddisclaimer.h>
Bad Color Temperature, too much Peach.