UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
UnrealMemory.cpp File Reference

Classes

class  FMallocPurgatoryProxy
 

Functions

FAutoConsoleCommand FMallocBinnedTestCommand (TEXT("Memory.StaleTest"), TEXT("Test for Memory.UsePurgatory. *** Will crash the game!"), FConsoleCommandDelegate::CreateStatic(&FMallocBinnedOverrunTest))
 

Variables

FAutoConsoleCommand FMallocUsePurgatoryCommand (TEXT("Memory.UsePurgatory"), TEXT("Uses the purgatory malloc proxy to check if things are writing to stale pointers."), FConsoleCommandDelegate::CreateStatic(&FMemory::EnablePurgatoryTests))
 
FAutoConsoleCommand FMallocUsePoisonCommand (TEXT("Memory.UsePoison"), TEXT("Uses the poison malloc proxy to check if things are relying on uninitialized or free'd memory."), FConsoleCommandDelegate::CreateStatic(&FMemory::EnablePoisonTests))
 

Function Documentation

◆ FMallocBinnedTestCommand()

FAutoConsoleCommand FMallocBinnedTestCommand ( TEXT("Memory.StaleTest")  ,
TEXT("Test for Memory.UsePurgatory. *** Will crash the game!" ,
FConsoleCommandDelegate::CreateStatic &  FMallocBinnedOverrunTest 
)

Variable Documentation

◆ FMallocUsePoisonCommand

FAutoConsoleCommand FMallocUsePoisonCommand(TEXT("Memory.UsePoison"), TEXT("Uses the poison malloc proxy to check if things are relying on uninitialized or free'd memory."), FConsoleCommandDelegate::CreateStatic(&FMemory::EnablePoisonTests)) ( TEXT("Memory.UsePoison")  ,
TEXT("Uses the poison malloc proxy to check if things are relying on uninitialized or free'd memory." ,
FConsoleCommandDelegate::CreateStatic &::EnablePoisonTests   
)

◆ FMallocUsePurgatoryCommand

FAutoConsoleCommand FMallocUsePurgatoryCommand(TEXT("Memory.UsePurgatory"), TEXT("Uses the purgatory malloc proxy to check if things are writing to stale pointers."), FConsoleCommandDelegate::CreateStatic(&FMemory::EnablePurgatoryTests)) ( TEXT("Memory.UsePurgatory")  ,
TEXT("Uses the purgatory malloc proxy to check if things are writing to stale pointers." ,
FConsoleCommandDelegate::CreateStatic &::EnablePurgatoryTests   
)