[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Memory problem



On Fri, 2005-02-11 at 14:51 +0100, Vincent Lefevre wrote:
> 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?

This is normal. The above are all threads of the same application, they
don't actually eat the sum of the memory, but since they share their
memory space, "top" will show the same data for all of them.

You won't see this on x86 because I suppose debian's glibc on x86 has
NPTL support enabled (the new pthread library), which we don't have for
ppc yet. (It's available in upstream glibc, but debian's is quite
outdated).

Ben.




Reply to: