# How to turn garbage collection off?

**URL:** <https://forums.unrealengine.com/t/how-to-turn-garbage-collection-off/365413>\
**Category:** Debugging, Optimization, & Profiling\
**Tags:** Optimization, unreal-engine, UE4, CPP, question\
**Created:** [July 28, 2016, 1:58pm UTC](https://forums.unrealengine.com/t/how-to-turn-garbage-collection-off/365413 "2016-07-28T13:58:52Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![Shadowriver](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Shadowriver](https://forums.unrealengine.com/u/Shadowriver)\
**Post date:** [July 31, 2016, 3:05am UTC](https://forums.unrealengine.com/t/how-to-turn-garbage-collection-off/365413/5 "2016-07-31T03:05:18Z")

</div>

Well check this out

> **[A new, community-hosted Unreal Engine Wiki](https://forums.unrealengine.com/t/a-new-community-hosted-unreal-engine-wiki/141494)**
>
> After over a year in maintenance mode, the official Unreal Engine Wiki is now permanently offline. These resources now live on a new community-run Unreal Engine Community Wiki — https://unrealcommunity.wiki/! You will be able to find content from...

You can disable object from auto deleting by adding it to root

---

_[View the full topic](https://forums.unrealengine.com/t/how-to-turn-garbage-collection-off/365413)._
