Re: Memory reclamation under Linux(es) ?
- From: The Natural Philosopher <a@xxx>
- Date: Mon, 30 Oct 2006 17:04:41 +0000
Tarkin wrote:
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?
One of the beauties of Linux is that once you close a program. ALL memory it has called for is freed up. No need to issue free() calls at all.
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...
Thinks os. I have a friend who runs Linux systems 24x7 to do matrix computation on,. He used something on that, and also NT, and was able to show the NT *always* leaked kernel memory space - few bytes at a time - on ANY program.
.
TIA,
Tarkin
- References:
- Memory reclamation under Linux(es) ?
- From: Tarkin
- Memory reclamation under Linux(es) ?
- Prev by Date: Re: Knoppix - ssh connection refused.
- Next by Date: Re: leading null characters produced in script...
- Previous by thread: Re: Memory reclamation under Linux(es) ?
- Next by thread: Build a Feed RSS with Linux
- Index(es):
Relevant Pages
|