UWorld::ForceGarbageCollection

Updates the timer between garbage collection such that at the next opportunity garbage collection will be run.

Choose your operating system:

Windows

macOS

Linux

Deprecated

  • Call GEngine->ForceGarbageCollection instead

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/World.h

Include

#include "Engine/World.h"

Source

/Engine/Source/Runtime/Engine/Private/LevelTick.cpp

Syntax

void ForceGarbageCollection
(
    bool bFullPurge
)

Remarks

Updates the timer between garbage collection such that at the next opportunity garbage collection will be run.