gc.StressTestGC
gc.StressTestGC is a console variable in Unreal Engine 5 (UE5). See what gc.StressTestGC does, its values, and how to use this cvar in the Unreal console below.
Category: Remaining · Namespace:
gcHelp
If set to 1, the engine will attempt to trigger GC each frame while async loading.
Usage
Unreal console (open with ~)
> gc.StressTestGC 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.MinGCClusterSizeVargc.MultithreadedDestructionEnabledVargc.NumRetriesBeforeForcingGCVargc.PendingKillEnabledVargc.PerformGCWhileAsyncLoadingVargc.SizeOfPermanentObjectPoolVargc.TimeBetweenPurgingPendingKillObjectsVargc.TimeBetweenPurgingPendingKillObjectsOnIdleServerMultiplierVargc.UseDisregardForGCOnDedicatedServersVargc.VerifyGCObjectNamesVargc.VerifyUObjectsAreNotFGCObjectsVar