Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UEngine
Description
Attempts to reclaim any idle memory by performing a garbage collection and broadcasting FCoreDelegates::OnMemoryTrim. Pending rendering commands are first flushed. This is called between level loads and may be called at other times, but is expensive and should be used sparingly. Do
| Name | TrimMemory |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Engine/Engine.h |
| Include Path | #include "Engine/Engine.h" |
| Source | /Engine/Source/Runtime/Engine/Private/UnrealEngine.cpp |
static void TrimMemory()