gc.NumRetriesBeforeForcingGC
gc.NumRetriesBeforeForcingGC is a console variable in Unreal Engine 5 (UE5). See what gc.NumRetriesBeforeForcingGC does, its values, and how to use this cvar in the Unreal console below.
Category: Remaining · Namespace:
gcHelp
Maximum number of times GC can be skipped if worker threads are currently modifying UObject state.
Usage
Unreal console (open with ~)
> gc.NumRetriesBeforeForcingGC 1Console variables take a value. Replace 1 with the setting you need. Run it with no value to print the current one.
Related in gc
gc.MaxObjectsInEditorVargc.MaxObjectsInGameVargc.MaxObjectsNotConsideredByGCVargc.MinDesiredObjectsPerSubTaskVargc.MinGCClusterSizeVargc.MultithreadedDestructionEnabledVargc.PendingKillEnabledVargc.PerformGCWhileAsyncLoadingVargc.SizeOfPermanentObjectPoolVargc.StressTestGCVargc.TimeBetweenPurgingPendingKillObjectsVargc.TimeBetweenPurgingPendingKillObjectsOnIdleServerMultiplierVar