Ric Messier wrote:
I believe Mozilla (and anything else based on its core libraries, e.g.
galeon) has monstrous memory leakage. Just exit completely from
Mozilla/whatever periodically.

If it were leaking memory, would it be taking up an enormous percentage of RAM? When I run top to check its memory usage, it says that mozilla-bin is only using 10.8%.



Not necessarily. That's really the definition of leaking. It no longer
belongs to the application, technically, but it's been allocated by the
system and so can't be used anywhere else.


Of course, I'm talking off the top of my head remembering the application
level of leaking. I don't remember whether that's true from the system
perspective or not. But I would suspect the system doesn't know how much
memory mozilla is using because mozilla doesn't know how much memory mozilla
is using.

I thought memory leaks were just bugs in the code where memory that was allocated for something isn't allocated when its done...something like:


for(i=0;i<1000000;i++) {
  void *mem = malloc(1024);
// I don't feel like deallocating this memory so I'll just eat 1Gb of RAM real quick
}

--
Andrew Gaffney


-- [EMAIL PROTECTED] mailing list



Reply via email to