# How to suspend the rendering thread in UE4? 

**URL:** <https://forums.unrealengine.com/t/how-to-suspend-the-rendering-thread-in-ue4/2651756>\
**Category:** Mobile\
**Tags:** unreal-engine\
**Created:** [August 28, 2025, 1:38pm UTC](https://forums.unrealengine.com/t/how-to-suspend-the-rendering-thread-in-ue4/2651756 "2025-08-28T13:38:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![fahadadi](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@fahadadi](https://forums.unrealengine.com/u/fahadadi)\
**Post date:** [August 28, 2025, 1:38pm UTC](https://forums.unrealengine.com/t/how-to-suspend-the-rendering-thread-in-ue4/2651756/1 "2025-08-28T13:38:18Z")

</div>

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.
