Re: Memory fragmentation?
Dan Mosedale <[email protected]>
| Newsgroups | gmane.comp.mozilla.performance |
|---|---|
| Message-ID | <[email protected]> |
Jonas Sicking wrote: > [email protected] wrote: >> On Oct 19, 1:17 pm, Boris Zbarsky <[email protected]> wrote: >>> Well. In that bug the "problem" is "top reports high memory usage". >> >> Which is typically what people complain about, too. "I closed all my >> pages and tabs and Firefox is still using 10GB of memory!" We may have >> free()ed almost all of it, but the library won't give it back to the >> OS. > > One that is more of a perception problem, rather than a real technical one. Doesn't that depend on whether we're talking about RSIZE or VSIZE here, since (at least the Mac impl of) top displays both? VSIZE would certainly be a perceptual problem, but if we have lots of mostly-but-not-entirely-freed RSIZE pages hanging around, other apps are prevented from using them, which would be more real. Dan