[prev in list] [next in list] [prev in thread] [next in thread]
List: licq-main
Subject: Re: [Licq-main] licq uses 32.000 KB memory??
From: Jan Houtsma <jan () houtsma ! net>
Date: 2000-03-28 8:45:47
[Download RAW message or body]
On Sun, Mar 26, 2000 at 11:46:36PM +0200, Per Lejontand wrote:
> On Sun, Mar 26, 2000 at 11:37:16PM +0200, Jan Houtsma wrote:
>
> > Thats the total memory size of licq.
> > Thats even more than X does and half of what i have as
> > physical RAM in my PC. Isn't that a little bit much?
> Let me guess, you are running linux right? Linux sucks at threadhandling
> and this is probably what's confusing you .. you did something like:
>
> per@chili ~ >ps wuax | grep licq
> per 6219 0.0 4.0 6616 5152 p1 S Mar 25 0:00 /home/per/bin/licq
> per 6225 0.0 4.0 6616 5152 p1 S Mar 25 0:00 /home/per/bin/licq
> per 6226 0.0 4.0 6616 5152 p1 S Mar 25 0:02 /home/per/bin/licq
> per 6227 0.0 4.0 6616 5152 p1 S Mar 25 0:00 /home/per/bin/licq
> per 6228 0.0 4.0 6616 5152 p1 S Mar 25 0:35 /home/per/bin/licq
>
> and them summed all the memory figures right? Wrong. Linux displays
> each thread as a separate process. In my case licq uses 6616kbyte of ram,
> not 5*6616k's .. Each thread has it's own stack, the main heap, text etc
> are all shared ..
>
jan 27153 0.0 5.9 10844 3720 ? S Mar26 0:00 licq
jan 27246 0.0 5.9 10844 3720 ? S Mar26 0:00 licq
jan 27247 0.0 5.9 10844 3720 ? S Mar26 0:00 licq
jan 27248 0.0 5.9 10844 3720 ? S Mar26 0:00 licq
jan 27249 0.0 5.9 10844 3720 ? S Mar26 1:21 licq
Over here its still lots more. But not 32MB as i thought before.
Dunno what gtop was showing me there.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic