gc.NumRetriesBeforeForcingGC
gc.NumRetriesBeforeForcingGC
#Overview
name: gc.NumRetriesBeforeForcingGC
The value of this variable can be defined or overridden in .ini config files. 1
.ini config file referencing this setting variable.
This variable is created as a Console Variable (cvar).
- type:
Var
- help:
Maximum number of times GC can be skipped if worker threads are currently modifying UObject state.
It is referenced in 1
C++ source file.
#Summary
#Setting Variables
#References In INI files
Location: <Workspace>/Engine/Config/BaseEngine.ini:1521, section: [/Script/Engine.GarbageCollectionSettings]
- INI Section:
/Script/Engine.GarbageCollectionSettings
- Raw value:
10
- Is Array:
False
#References in C++ code
#Callsites
This variable is referenced in the following C++ source code:
#Loc: <Workspace>/Engine/Source/Runtime/CoreUObject/Private/UObject/GarbageCollection.cpp:4958
Scope: file
Source code excerpt:
static int32 GNumRetriesBeforeForcingGC = 10;
static FAutoConsoleVariableRef CVarNumRetriesBeforeForcingGC(
TEXT("gc.NumRetriesBeforeForcingGC"),
GNumRetriesBeforeForcingGC,
TEXT("Maximum number of times GC can be skipped if worker threads are currently modifying UObject state."),
ECVF_Default
);
// Force flush streaming on GC console variable