/Engine/Source/Runtime/Core/Public/GenericPlatform/GenericPlatformMallocCrash.h
Simple pooled memory allocator that uses preallocated memory. Instance of this class replaces GMalloc after a crash, so we can use dynamic memory allocation even if the app crashes due to OOM.
struct FGenericPlatformMallocCrash : public [FMalloc](API\Runtime\Core\HAL\FMalloc)
uint8 *
BookkeepingPool
Preallocated memory pool for bookkeeping.
uint32
BookkeepingPoolOffset
Current position in the bookkeeping pool.
uint32
BookkeepingPoolSize
int32
CrashedThreadId
The id of the thread that crashed.
FCriticalSectio...
InternalLock
Used to lock crash malloc to one thread.
uint8 *
LargeMemoryPool
Preallocated memory pool for large allocations.
uint32
LargeMemoryPoolOffset
Current position in the large memory pool.
FMalloc*
PreviousMalloc
Previously used malloc.
uint8 *
SmallMemoryPool
Preallocated memory pool for small allocations.
uint32
SmallMemoryPoolOffset
Current position in the small memory pool.
uint32
SmallMemoryPoolSize