X11 memory footprint
Hi,
is there any way to config X11 to use less memory? I have 1G ram, but X seems to eat up everything what is available. Currently 2 instances of X consume more than 900M, so I don't believe more memory will be a solution. I remember a few years ago I played around with an P1 with 64M ram. There was an option to switch off X11 caches, and that worked very well. Any ideas? Thanks in advance, Ott This is debian lenny Code:
X Window System Version 1.3.0 |
First, why do you need to run multiple instances of X11? Second, there is no good reason why any instance of X11 should be using 900MB of RAM. Mine is currently using about 25KB. Where did you get the information about how much RAM its using. If it really is using that much, something is horribly broken and fixing it should greatly improve performance.
|
Well, I admit these numbers are coming from 'top'. However, I notice that the system starts swapping when switching applications/desktops after having run a while. It is not a problem, but something I'd like to keep under check.
This is my home desktop where both me and my wife are logged on most of the time. Usually we don't switch it off, just hibernate. That's why the problems accumulate. The top memory consumers according to 'top' are: Code:
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND Thanks, Ott |
well when you show top as saying
Code:
VIRT RES RES = resident, as in, IS real. but still most likely shows shared memory over and over again on every program. X just shows ever darn thing as memory. is shows all you video cards memory as being used up and adds that to the total. it shows ever image ever viewed on your machine as used up virtual memory. basically the answer is to just stop looking at top and thinking it has anything to do with anything. |
I've noticed that X uses up about as much memory as Firefox. It could be that.
|
All times are GMT -5. The time now is 06:52 AM. |