How to suspend the rendering thread in UE4?

The mobile platform I’m using in my current UD 4.27 project gas low performance, so I’m considering whether I can pause the rendering thread and release the rendering resources in the scene when the program enters the background (to reduce video memory usage). I first tested it in editor mode, but the result did not reduce video memory usage as I expected.

Here’s how I did it: First, create a class called MemoryOptimizer with two methods: one for resource registration and the other for resource release and recovery. Resource registration uses the scene’s Actors to register all resources and save them to a TArray class member. When releasing, the FCoreDelegates::ApplicationWillEnterBackgroundDelegate interface notifies the release method to release them.