TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [TCLUG:8117] X11 Memory Usage



> Do 'cat /proc/<pid>/status' where <pid> is the pid of your X process.
> That'll give you the straight poop, in case gtop is wrong.
> 
> But 50MB is not really all that out of line, sadly. Especially when you
> consider that xlib is loaded into every X-based process that you have
> running. (The faint of heart should not be shown how much memory xclock
> requires.)

Looking through the various data that gtop spits out, I found that X was using a
32768kB chunk of memory, which I thought was really strange.  Why would X pick
such a round number (in binary/hex terms, anyway), and what was it using that
memory for?  Then I remembered -- I'm running a TNT2 with 32MB memory.  X isn't
actually using 50+MB of memory, it's actually running closer to 20..

-- 
 _  _  _  _ _  ___    _ _  _  ___ _ _  __   Hard work has a future 
/ \/ \(_)| ' // ._\  / - \(_)/ ./| ' /(__   payoff. Laziness pays  
\_||_/|_||_|_\\___/  \_-_/|_|\__\|_|_\ __)  off now. 
[ Mike Hicks | http://umn.edu/~hick0088 | mailto:hick0088@tc.umn.edu ]