Memory reclamation under Linux(es) ?



Hullo, all,

After reading a review of Firefox 2.0 (which I already have installed),
it points out that Firefox already has problems with memory leaks.

So, I now have a few questions about the way the Linux kernel
manages memory.

1) Are there any (up-to-date) tracts on how 2.4 kernels manage
memory? (I know it is recommended everyone have a look
'under the hood' at the sources, but will that be enough?)

2)After a leaking application exits, is the memory reclaimed in
any way, other than releasing any 'locks'(?) the app had on it?
Or are memory leaks related to improper use/calling of mfree()
and derivatives?

3)Are there any user-space, third-party, or kernel extensions which
keep tabs on memory, akin to a garbage collector? I vaguely
remember this as a topic covered in a half-dozen or so
'brew your own OS' sites, but I never got that far with my own OS...

TIA,
Tarkin

.



Relevant Pages

  • Re: Fight MemHogs?!
    ... Is there a way to make the kernel do that earlier? ... Firefox 2.0.0.3 and Kernel 2.6.11 ... "top" shows that firefox keeps all the memory. ... days is the source for many, but not all, browsers out there. ...
    (comp.os.linux.misc)
  • [Full-disclosure] [TZO-27-2009] Firefox Denial of Service (Keygen)
    ... Firefox Denial of Service ... All Firefox versions supporting the KEYGEN tag. ... Furthermore memory is leaked during the process. ... I am not saying the memory leaks include key material, ...
    (Full-Disclosure)
  • [TZO-27-2009] Firefox Denial of Service (Keygen)
    ... Firefox Denial of Service ... All Firefox versions supporting the KEYGEN tag. ... Furthermore memory is leaked during the process. ... I am not saying the memory leaks include key material, ...
    (Bugtraq)
  • Re: URGENT - Pls help...pls recommend - laptop purchase
    ... And my memory use hardly ever goes past 800MB. ... The programs constantly running include some database software, Skype, Messenger, Notepad, Thunderbird, another email/news program and Firefox. ... While Maxthon is a tabbed browser too, it handles these leaky sites far better. ... Firefox 3.0 has apparently fixed the memory leaks, we use Seamony at work and I see liitle difference in performance. ...
    (comp.sys.laptops)
  • Re: Memory Leak detection with HeapAlloc ... ?
    ... Your code won't detect memory leaks from HeapAlloc because it checks only those allocations taht were made via CRT. ... anyone knows of a solution where one could enable a page heap as described in the articles from sourcecode? ...
    (microsoft.public.vc.language)