FMemory::Trim

Releases as much memory as possible. Must be called from the main thread.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/HAL/UnrealMemory.h

Include

#include "HAL/UnrealMemory.h"

Source

/Engine/Source/Runtime/Core/Private/HAL/UnrealMemory.cpp

Syntax

static void Trim
(
    bool bTrimThreadCaches
)

Remarks

Releases as much memory as possible. Must be called from the main thread.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss