UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
MemoryMisc.h File Reference
#include "CoreTypes.h"
#include "Containers/UnrealString.h"
#include "Containers/Map.h"
#include "Containers/StringView.h"
#include "Misc/StringBuilder.h"

Go to the source code of this file.

Classes

struct  FGenericMemoryStats
 
class  FScopedMemoryStats
 
class  FSharedMemoryTracker
 

Macros

#define UE_MEMORY_STAT_DESCRIPTION_LENGTH   64
 
#define UE_MEMORY_STAT_PREALLOCATION_COUNT   32
 
#define ENABLE_MEMORY_SCOPE_STATS   0
 
#define ENABLE_SHARED_MEMORY_TRACKER   0
 

Macro Definition Documentation

◆ ENABLE_MEMORY_SCOPE_STATS

#define ENABLE_MEMORY_SCOPE_STATS   0

◆ ENABLE_SHARED_MEMORY_TRACKER

#define ENABLE_SHARED_MEMORY_TRACKER   0

The FSharedMemoryTracker is used to track how much the shared and unique memory pools changed size in-between each call WARNING: Getting the shared & unique memory pool size is extremely costly (easily takes up to 60ms) so be careful not to use the tracker while hosting a game.

◆ UE_MEMORY_STAT_DESCRIPTION_LENGTH

#define UE_MEMORY_STAT_DESCRIPTION_LENGTH   64

◆ UE_MEMORY_STAT_PREALLOCATION_COUNT

#define UE_MEMORY_STAT_PREALLOCATION_COUNT   32