Subject: Re: firefox doesn't clean out unused memory on linux (and *BSD)
To: C=E9sar_Catri=E1n?= C. <ccatrian@eml.cc>
From: Robert Lillack <lillack@mis.mpg.de>
List: tech-pkg
Date: 04/29/2004 18:13:18
C=E9sar Catri=E1n C. wrote:

> According to this thread,
> http://forums.mozillazine.org/viewtopic.php?p=3D501535#501535 ,
> linux and *BSD's work different freeing memory pages. In
> windows, in example, freeing unused memory from firefox can be
> done by minimizing the window, but that is not the procedure in
> *unix.

Though *BSD and Linux seem to work the same way, here, I have to
add that the BSDs have their own libc and do not use the glibc.

> That explains firefox using 53M of memory and 32M of
> swap, with only one web opened after loading and closing
> several tabs. Is this memory management behaviour 'tuneable' in
> NetBSD?

Maybe one can 'tune' that behaviour, but as far as I understand
it you would not gain any memory/performance improvements. If
another app needs memory, some of those pages that firefox
doesn't need anymore would be allocated -- I think that 'lazy
releasing' is to save time in case firefox needs more memory
again...

Better ask such questions on -current. They seem know such stuff
over there ;)

Cheers, Rob.
--=20
  +- Robert Lillack ------------------ lillack@mis.mpg.de -+
 /  Max Planck Institute for Mathematics in the Sciences  /
+- Leipzig, Germany ----------- phone: +49-341-9959-693 -+