MEM_COMMIT top-level constant

  1. @Deprecated('Use VIRTUAL_ALLOCATION_TYPE.MEM_COMMIT instead')
int const MEM_COMMIT

Allocates memory charges (from the overall size of memory and the paging files on disk) for the specified reserved memory pages. The function also guarantees that when the caller later initially accesses the memory, the contents will be zero. Actual physical pages are not allocated unless/until the virtual addresses are actually accessed.

Implementation

@Deprecated('Use VIRTUAL_ALLOCATION_TYPE.MEM_COMMIT instead')
const MEM_COMMIT = 0x00001000;