[plug] memory

Craig Ringer craig at postnewspapers.com.au
Fri Dec 6 12:57:11 WST 2002


>              total       used       free     shared    buffers    cached
> Mem:        386596     382180       4416          0       2052     29400
> -/+ buffers/cache:     350728      35868
> Swap:       232932     232932          0
> 
> Where is all the memory going? According to top, X is using 72.8%
> memory, that can't be good. If anyone has tips on memory management it
> will be greatly appreciated.

Hmm... that definitely can't be good. Have you tried logging out, 
forcably killing the X server (CTL-ALT-BKSPACE), logging back in and 
checking the new X server's memory useage?

Some apps like to allocate shared memory with X and never release it. 
Old mozilla builds were a big culprit of this. Try having top running as 
you go about your business, see what causes a rise and when.

Of course, you /do/ have 35MB of free RAM, its not as if the system is 
going down in a heap - but X using ~200mb of RAM is not a happy thing.

-- 
Craig Ringer
GPG Key Fingerprint: AF1C ABFE 7E64 E9C8 FC27  C16E D3CE CDC0 0E93 380D
	-- if it ain't broke, add features 'till it is. (or:)
	while (! broken) { features ++ ; broken = isBroken(features) }




More information about the plug mailing list