Navigation API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/UObject References Module CoreUObject Header /Engine/Source/Runtime/CoreUObject/Public/UObject/GarbageCollectionHistory.h Include #include "UObject/GarbageCollectionHistory.h" Syntax struct FGCSnapshot Copy full snippetstruct FGCSnapshot Remarks Structure that holds all direct references traversed in a GC run as well as FGCObjectInfo structs created for all participating objects Variables Type Name Description TMap< FGCObjectInfo *, TArray< FGCDirectReferenceInfo > * > DirectReferences Lis of direct references for all objects TMap< const UObject *, FGCObjectInfo * > ObjectToInfoMap FGCObjectInfo structs generated for each of the objects encountered during GC Functions Type Name Description int64 GetAllocatedSize () Returns the number of bytes allocated by a single snapshot