Skip to main content

XALLOC_ALLOCATOR_IDS

Defines the range for the set of IDs for different types of allocators used by memory allocation routines.

Syntax

Constants

Remarks

The XALLOC_ALLOCATOR_IDS constants are used by the AllocatorId member of the XALLOC_ATTRIBUTES union. Each allocation is associated with an allocator ID, which identifies the subsystem which is requesting the allocation (or free). There are three potential sources of allocations; Title (game), Platform (OS), and Middleware components. Title developers should feel free to use any of the values in the range eXALLOCAllocatorId_GameMin to eXALLOCAllocatorId_GameMax to identify which of their subsystems are performing allocations. If you are a middleware vendor and would like to reserve an allocator ID, please contact your developer account manager.

Requirements

Header: xmem.h Supported platforms: XBOX One family consoles and XBOX Series consoles

See also

XMem reference
XALLOC_ATTRIBUTES
XMEMALLOC_ROUTINE
XMEMFREE_ROUTINE
Last modified on August 20, 2026