Re: Memory problem
According to Vincent Lefevre, on Fri, 11 Feb 2005 14:51:25 +0100,
>On my PowerBook (2.6.9-powerpc kernel), top says:
>
> PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
>12457 lefevre 16 0 168m 64m 45m S 0.0 25.6 114:31.11 mozilla-bin
>12458 lefevre 16 0 168m 64m 45m S 0.0 25.6 0:00.21 mozilla-bin
>12459 lefevre 16 0 168m 64m 45m S 0.0 25.6 0:12.63 mozilla-bin
>12461 lefevre 16 0 168m 64m 45m S 0.0 25.6 0:25.27 mozilla-bin
> 1059 lefevre 16 0 168m 64m 45m S 0.0 25.6 0:00.03 mozilla-bin
>
>whereas on x86, I get only one instance of mozilla-bin (Mozilla is
>compiled using the same .mozconfig). How can I fix that?
>
>Also, my machine keeps on swapping very often (contrary to x86,
>even with 128 MB RAM); top says:
>
>Mem: 256100k total, 252596k used, 3504k free, 7028k buffers
>Swap: 524280k total, 279740k used, 244540k free, 47852k cached
>
>but I don't know why so much memory is used. Are there some tools
>to know what processes use memory and so on (gmemusage seems to be
>broken on the PowerPC, perhaps due to the reason explained in the
>TODO file)?
>
You can use free. On my ibook most of the used ram is used for caching.
pradalie@ceruse:~$ free
total used free shared buffers cached
Mem: 385772 381692 4080 0 13480 253488
-/+ buffers/cache: 114724 271048
^^^^^^^
Reply to: