/Engine/Source/Runtime/Core/Public/GenericPlatform/GenericPlatformMemory.h
Struct used to hold common memory constants for all platforms. These values don't change over the entire life of the executable.
struct FGenericPlatformMemoryConstants
uint64
AddressLimit
AddressLimit - Second parameter is estimate of the range of addresses expected to be returns by BinnedAllocFromOS().
SIZE_T
BinnedAllocationGranularity
This is the "allocation granularity" in Binned malloc terms, i.e. BinnedMalloc will allocate the memory in increments of this value.
SIZE_T
BinnedPageSize
The size of a "page" in Binned2 malloc terms, in bytes.
SIZE_T
OsAllocationGranularity
Some platforms have advantages if memory is allocated in chunks larger than PageSize (e.g. VirtualAlloc() seems to have 64KB granularity as of now).
SIZE_T
PageSize
The size of a physical page, in bytes.
uint64
TotalPhysical
uint32
TotalPhysicalGB
Approximate physical RAM in GB; 1 on everything except PC.
uint64
TotalVirtual
The amount of virtual memory, in bytes.