memory.MemoryPressureCriticalThresholdMB
memory.MemoryPressureCriticalThresholdMB
#Overview
name: memory.MemoryPressureCriticalThresholdMB
The value of this variable can be defined or overridden in .ini config files. 4
.ini config files referencing this setting variable.
This variable is created as a Console Variable (cvar).
- type:
Var
- help:
When the available physical memory drops below this threshold memory stats will consider this to be at critical pressure.\nWhere a platform can specifically state it\'s memory pressure this test maybe ignored.\n0 (default) critical pressure will not use the threshold.
It is referenced in 1
C++ source file.
#Summary
#Setting Variables
#References In INI files
Location: <Workspace>/Engine/Config/Linux/BaseLinuxEngine.ini:15, section: [ConsoleVariables]
- INI Section:
ConsoleVariables
- Raw value:
512
- Is Array:
False
Location: <Workspace>/Engine/Config/LinuxArm64/BaseLinuxArm64Engine.ini:6, section: [ConsoleVariables]
- INI Section:
ConsoleVariables
- Raw value:
512
- Is Array:
False
Location: <Workspace>/Engine/Config/Mac/BaseMacEngine.ini:43, section: [ConsoleVariables]
- INI Section:
ConsoleVariables
- Raw value:
512
- Is Array:
False
Location: <Workspace>/Engine/Config/Windows/BaseWindowsEngine.ini:35, section: [ConsoleVariables]
- INI Section:
ConsoleVariables
- Raw value:
512
- Is Array:
False
#References in C++ code
#Callsites
This variable is referenced in the following C++ source code:
#Loc: <Workspace>/Engine/Source/Runtime/Core/Private/GenericPlatform/GenericPlatformMemory.cpp:54
Scope (from outer to inner):
file
namespace GenericPlatformMemory
Source code excerpt:
static float GMemoryPressureCriticalThresholdMB = 0;
static FAutoConsoleVariableRef CVarMemoryPressureCriticalThresholdMB(
TEXT("memory.MemoryPressureCriticalThresholdMB"),
GMemoryPressureCriticalThresholdMB,
TEXT("When the available physical memory drops below this threshold memory stats will consider this to be at critical pressure.\n"
"Where a platform can specifically state it's memory pressure this test maybe ignored.\n"
"0 (default) critical pressure will not use the threshold."),
ECVF_Default);
}