Disable heap coalesce on free

The Disable heap coalesce on free flag leaves adjacent blocks of heap memory separate when they are freed.

Abbreviation

dhc

Hexadecimal value

0x00200000

Symbolic Name

FLG_HEAP_DISABLE_COALESCING

Destination

System-wide registry entry, kernel flag, image file registry entry

Comments

By default, Windows combines ("coalesces") newly-freed adjacent blocks into a single block. Combining the blocks takes time, but reduces fragmentation that might force the heap to allocate additional memory when it cannot find contiguous memory.

This flag is used for maintaining compatibility with old applications.