gc.SizeOfPermanentObjectPool
gc.SizeOfPermanentObjectPool
#Overview
name: gc.SizeOfPermanentObjectPool
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:
Placeholder console variable, currently not used in runtime.
It is referenced in 2
C++ source files.
#Summary
#Setting Variables
#References In INI files
Location: <Workspace>/Engine/Config/BaseEngine.ini:1519, section: [/Script/Engine.GarbageCollectionSettings]
- INI Section:
/Script/Engine.GarbageCollectionSettings
- Raw value:
0
- 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/UObjectBase.cpp:939
Scope: file
Source code excerpt:
static int32 GSizeOfPermanentObjectPool;
static FAutoConsoleVariableRef CSizeOfPermanentObjectPool(
TEXT("gc.SizeOfPermanentObjectPool"),
GSizeOfPermanentObjectPool,
TEXT("Placeholder console variable, currently not used in runtime."),
ECVF_Default
);
static int32 GMaxObjectsInEditor;
#Loc: <Workspace>/Engine/Source/Runtime/CoreUObject/Private/UObject/UObjectBase.cpp:991
Scope (from outer to inner):
file
function void UObjectBaseInit
Source code excerpt:
// Not used on PC as in-place creation inside bigger pool interacts with the exit purge and deleting UObject directly.
GConfig->GetInt(TEXT("/Script/Engine.GarbageCollectionSettings"), TEXT("gc.SizeOfPermanentObjectPool"), SizeOfPermanentObjectPool, GEngineIni);
}
// Maximum number of UObjects in cooked game
GConfig->GetInt(TEXT("/Script/Engine.GarbageCollectionSettings"), TEXT("gc.MaxObjectsInGame"), MaxUObjects, GEngineIni);
// If true, the UObjectArray will pre-allocate all entries for UObject pointers