Deprecated
Use GEngine->SetTimeUntilNextGarbageCollection instead.
Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Engine/World.h |
Include |
#include "Engine/World.h" |
Source |
/Engine/Source/Runtime/Engine/Private/LevelTick.cpp |
void SetTimeUntilNextGarbageCollection
(
float MinTimeUntilNextPass
)
Updates the timer (as a one-off) that is used to trigger garbage collection; this should only be used for things like performance tests, using it recklessly can dramatically increase memory usage and cost of the eventual GC.
Things that force a GC will still force a GC after using this method (and they will also reset the timer)