On 11 Oct 2000, Guillaume Cottenceau wrote:
> Joshua Jackson <[EMAIL PROTECTED]> writes:
>
>
> [...]
>
> > X is using 33MB but XMMS is showed has holding 4 processes as 11MB RAM
> > each. I noticed that Licq likes to open child processes, too. Would
> > the 50MB's of XMMS be a memory leak or is that just how it is? I don't
> > know if that size gets bigger as a night of MP3 playing goes, 'cuz I
> > haven't played any, and I'm going to bed now.
>
> Linux handles threading this way: from the processes point of view, it
> spawns some new processes; but they are not "true" processes, and the
> memory is not eated 11*4 Mbytes but only 11 Mbytes. (e.g. between threads,
> memory is shared)
>
Linux uses demand paging, so that's not really true. Rather say, "address
spaces are shared".
--
Francis Galiegue, [EMAIL PROTECTED]
"Programming is a race between programmers, who try and make more and more
idiot-proof software, and universe, which produces more and more remarkable
idiots. Until now, universe leads the race" -- R. Cook