# \[UE5.2, Bug report\] Editor crash when PC is idle for a while. Out of memory.

**URL:** <https://forums.unrealengine.com/t/ue5-2-bug-report-editor-crash-when-pc-is-idle-for-a-while-out-of-memory/1191810>\
**Category:** Issues and Bug Reporting\
**Tags:** unreal-engine, crash, bug-report, editor, question\
**Created:** [June 7, 2023, 2:15pm UTC](https://forums.unrealengine.com/t/ue5-2-bug-report-editor-crash-when-pc-is-idle-for-a-while-out-of-memory/1191810 "2023-06-07T14:15:34Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![RayChow\_OoO](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@RayChow\_OoO](https://forums.unrealengine.com/u/RayChow_OoO)\
**Post date:** [September 15, 2023, 3:48am UTC](https://forums.unrealengine.com/t/ue5-2-bug-report-editor-crash-when-pc-is-idle-for-a-while-out-of-memory/1191810/5 "2023-09-15T03:48:36Z")

</div>

> [@Memory leak in 5.2](https://forums.unrealengine.com/t/memory-leak-in-5-2/1174844/9):
>
> Hey, we also encountered a memory leak that seems to be caused by viewport rendering, also in packaged games (but we didn’t test shipping builds). Can you please add the following line to your DefaultEngine.ini file and see if it’s still leaking (preferably under RendererSettings)? r.gpucrash.collectionenable=0 It seems to be important to add this line to the ini and not enter it at runtime. I guess this is not a fix, but it can help narrow the issue down and maybe help epic fix the issue pr…

this show how to fix it!

---

_[View the full topic](https://forums.unrealengine.com/t/ue5-2-bug-report-editor-crash-when-pc-is-idle-for-a-while-out-of-memory/1191810)._
