On Mon, Apr 8, 2013 at 4:46 PM, Benjamin Smedberg <benja...@smedbergs.us> wrote:
>
> 1) early in the memory info, there appears to be a common pattern of a
> committed block and then 15 free blocks.

AIUI, on Windows the smallest block you can ask for with VirtualAlloc
is 4 KiB.  However, no more than one VirtualAlloc block can exist per
64 KiB chunk.  So if you ask for 4 KiB you'll end up wasting the
remaining 60 KiB of address space in the 64 KiB chunk.

Assuming I'm right about this (I'm fairly certain, but not 100%), it
sounds like some code (be it Mozilla or driver code) is
VirtualAlloc'ing lots of 4 KiB blocks, and thus wasting lots of
address space.

Nick
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to