Re: Memory fragmentation?

"[email protected]" <[email protected]> Sun, 18 Nov 2007 17:47:16 -0800 (PST)
Newsgroups gmane.comp.mozilla.performance
Organization http://groups.google.com
Message-ID <26690c8f-c6c1-4346-ac06-2ce409d6fb8f@d21g2000prf.googlegroups.com>
On Nov 15, 9:38 am, "[email protected]"
<[email protected]> wrote:
> I just had a thought about the fragmentation problem.  That problem is
> often best described as "too many small allocations."  But the real
> danger seems to be that we're mixing tons of small allocations and
> several large ones.  For example, if you allocate 128 bytes, allocate
> 100k and then allocate another 128 bytes after that, the entire 100k
> is pinned, leaving large gaps.

Most malloc implementations would not work that way.

Rob