mallocleak.clear
mallocleak.clear
#Overview
name: mallocleak.clear
This variable is created as a Console Variable (cvar).
- type:
Cmd
- help:
Clears recorded allocation info
It is referenced in 1
C++ source file.
#Summary
#References in C++ code
#Callsites
This variable is referenced in the following C++ source code:
#Loc: <Workspace>/Engine/Source/Runtime/Engine/Private/ProfilingDebugging/MallocLeakReporter.cpp:186
Scope: file
Source code excerpt:
static FAutoConsoleCommand LeakReporterClearCommand(
TEXT("mallocleak.clear"),
TEXT("Clears recorded allocation info"),
FConsoleCommandDelegate::CreateLambda([]() {
FMallocLeakReporter::Get().Clear();
UE_LOG(LogConsoleResponse, Display, TEXT("Cleared recorded data."));
})
);