I read the description of dwAllocationGranularity from,
and tested on my system it is 65535.
But from the above description, I do not quite understand what does it mean. Does it mean that when memory manager deals with real memory allocation, it will always allocate 65535 bytes at a time, and divide into small chunks to upper level API (for example, when we new, it will allocate 256 bytes from the 65535 allocated raw bytes to application)?
Another question is, what benefit will we get if we know this parameter? For example, how do we allocate memory will utilize the system at most to achieve best performance?
thanks in advance,