# \[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:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Roy\_Wierer.Seda145](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/roy_wierer.seda145/32/906551_2.png) [@Roy\_Wierer.Seda145](https://forums.unrealengine.com/u/Roy_Wierer.Seda145)\
**Post date:** [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/1 "2023-06-07T14:15:34Z")

</div>

System has plenty of memory. Happens in an idle state.

```auto
Fatal error: [File:D:\build\++UE5\Sync\Engine\Source\Runtime\Core\Private\GenericPlatform\GenericPlatformMemory.cpp] [Line: 241] Ran out of memory allocating 131436 bytes with alignment 0. Last error msg: The paging file is too small for this operation to complete..

UnrealEditor_Core!<lambda_2f7b765a738be9e3beac65d9eaf9a7a2>::operator()() [D:\build\++UE5\Sync\Engine\Source\Runtime\Core\Private\GenericPlatform\GenericPlatformMemory.cpp:242]
UnrealEditor_Core!FGenericPlatformMemory::OnOutOfMemory() [D:\build\++UE5\Sync\Engine\Source\Runtime\Core\Private\GenericPlatform\GenericPlatformMemory.cpp:244]
UnrealEditor_Core!FMallocMimalloc::OutOfMemory() [D:\build\++UE5\Sync\Engine\Source\Runtime\Core\Public\HAL\MallocMimalloc.h:52]
UnrealEditor_Core!FMallocMimalloc::Malloc() [D:\build\++UE5\Sync\Engine\Source\Runtime\Core\Private\HAL\MallocMimalloc.cpp:69]
UnrealEditor_Core!FMemory::Malloc() [D:\build\++UE5\Sync\Engine\Source\Runtime\Core\Public\HAL\FMemory.inl:30]
UnrealEditor_Renderer!TConcurrentLinearArrayAllocator<FSceneRenderingBlockAllocationTag>::ForElementType<FShadowMapCacheData>::ResizeAllocation() [D:\build\++UE5\Sync\Engine\Source\Runtime\Core\Public\Experimental\ConcurrentLinearAllocator.h:600]
UnrealEditor_Renderer!SetCacheDataShaderParameters() [D:\build\++UE5\Sync\Engine\Source\Runtime\Renderer\Private\VirtualShadowMaps\VirtualShadowMapArray.cpp:407]
UnrealEditor_Renderer!FVirtualShadowMapArray::BuildPageAllocations() [D:\build\++UE5\Sync\Engine\Source\Runtime\Renderer\Private\VirtualShadowMaps\VirtualShadowMapArray.cpp:1671]
UnrealEditor_Renderer!FDeferredShadingSceneRenderer::Render() [D:\build\++UE5\Sync\Engine\Source\Runtime\Renderer\Private\DeferredShadingRenderer.cpp:3599]
UnrealEditor_Renderer!RenderViewFamilies_RenderThread() [D:\build\++UE5\Sync\Engine\Source\Runtime\Renderer\Private\SceneRendering.cpp:4413]
UnrealEditor_Renderer!<lambda_3332acdaafdbf3c437080709986d7e10>::operator()() [D:\build\++UE5\Sync\Engine\Source\Runtime\Renderer\Private\SceneRendering.cpp:4681]
UnrealEditor_Renderer!TEnqueueUniqueRenderCommandType<`FRendererModule::BeginRenderingViewFamilies'::`87'::FDrawSceneCommandName,<lambda_3332acdaafdbf3c437080709986d7e10> >::DoTask() [D:\build\++UE5\Sync\Engine\Source\Runtime\RenderCore\Public\RenderingThread.h:209]
UnrealEditor_Renderer!TGraphTask<TEnqueueUniqueRenderCommandType<`FRendererModule::BeginRenderingViewFamilies'::`87'::FDrawSceneCommandName,<lambda_3332acdaafdbf3c437080709986d7e10> > >::ExecuteTask() [D:\build\++UE5\Sync\Engine\Source\Runtime\Core\Public\Async\TaskGraphInterfaces.h:1310]
UnrealEditor_Core!FNamedTaskThread::ProcessTasksNamedThread() [D:\build\++UE5\Sync\Engine\Source\Runtime\Core\Private\Async\TaskGraph.cpp:758]
UnrealEditor_Core!FNamedTaskThread::ProcessTasksUntilQuit() [D:\build\++UE5\Sync\Engine\Source\Runtime\Core\Private\Async\TaskGraph.cpp:649]
UnrealEditor_RenderCore!RenderingThreadMain() [D:\build\++UE5\Sync\Engine\Source\Runtime\RenderCore\Private\RenderingThread.cpp:416]
UnrealEditor_RenderCore!FRenderingThread::Run() [D:\build\++UE5\Sync\Engine\Source\Runtime\RenderCore\Private\RenderingThread.cpp:542]
UnrealEditor_Core!FRunnableThreadWin::Run() [D:\build\++UE5\Sync\Engine\Source\Runtime\Core\Private\Windows\WindowsRunnableThread.cpp:149]

```

---

<div class="post-metadata">

**Author:** ![Roy\_Wierer.Seda145](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/roy_wierer.seda145/32/906551_2.png) [@Roy\_Wierer.Seda145](https://forums.unrealengine.com/u/Roy_Wierer.Seda145)\
**Post date:** [June 7, 2023, 2:22pm UTC](https://forums.unrealengine.com/t/ue5-2-bug-report-editor-crash-when-pc-is-idle-for-a-while-out-of-memory/1191810/2 "2023-06-07T14:22:45Z")

</div>

It appears a mostly empty project opened in the UE editor process nuked the system after letting it do nothing for hours.

```auto
Windows successfully diagnosed a low virtual memory condition. The following programs consumed the most virtual memory: UnrealEditor.exe (5872) consumed 51417583616 bytes

```

I remember something similar happened in the past when you would set a blueprint breakpoint and let the process hang on that but I wasn’t debugging and wasn’t running anything, not even PIE.

---

<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:** [August 17, 2023, 4:47am UTC](https://forums.unrealengine.com/t/ue5-2-bug-report-editor-crash-when-pc-is-idle-for-a-while-out-of-memory/1191810/3 "2023-08-17T04:47:58Z")

</div>

how to fix it？

---

<div class="post-metadata">

**Author:** ![Roy\_Wierer.Seda145](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/roy_wierer.seda145/32/906551_2.png) [@Roy\_Wierer.Seda145](https://forums.unrealengine.com/u/Roy_Wierer.Seda145)\
**Post date:** [August 17, 2023, 8:01pm UTC](https://forums.unrealengine.com/t/ue5-2-bug-report-editor-crash-when-pc-is-idle-for-a-while-out-of-memory/1191810/4 "2023-08-17T20:01:04Z")

</div>

I have no fix, this is only a report. It seems to happen when you let the editor run on idle (not using it) for a while, up to hours. Unclear if this is caused by the idle state or is just a generic memory leak. Don’t have problems when I’m using it actively.

---

<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!

---

<div class="post-metadata">

**Author:** ![Roy\_Wierer.Seda145](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/roy_wierer.seda145/32/906551_2.png) [@Roy\_Wierer.Seda145](https://forums.unrealengine.com/u/Roy_Wierer.Seda145)\
**Post date:** [September 21, 2023, 4:42pm UTC](https://forums.unrealengine.com/t/ue5-2-bug-report-editor-crash-when-pc-is-idle-for-a-while-out-of-memory/1191810/6 "2023-09-21T16:42:35Z")

</div>

Thank you for this 🙂 I can’t verify it right now, I’m not working with the editor itself for a while.

---

<div class="post-metadata">

**Author:** ![wojtek\_MH](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@wojtek\_MH](https://forums.unrealengine.com/u/wojtek_MH)\
**Post date:** [April 2, 2025, 9:56pm UTC](https://forums.unrealengine.com/t/ue5-2-bug-report-editor-crash-when-pc-is-idle-for-a-while-out-of-memory/1191810/7 "2025-04-02T21:56:09Z")

</div>

It seems this has not been addressed. I just posted to the forum [here](https://forums.unrealengine.com/t/fatal-error-twinmotion-looks-for-paging-file-on-a-drive-that-does-note-exist/2433364). What’s curious is that the text of these errors starts with: "File:D:" I assume this is a file on a D: drive. I do not have a D: drive. Why is the error pointing to a drive that does not exist?

---

<div class="post-metadata">

**Author:** ![Jimbohalo10](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jimbohalo10/32/961440_2.png) [@Jimbohalo10](https://forums.unrealengine.com/u/Jimbohalo10)\
**Post date:** [April 6, 2025, 12:25am UTC](https://forums.unrealengine.com/t/ue5-2-bug-report-editor-crash-when-pc-is-idle-for-a-while-out-of-memory/1191810/8 "2025-04-06T00:25:28Z")

</div>

> [@Roy\_Wierer.Seda145](#):
>
> `The paging file is too small for this operation to complete`

Hi @Roy_Wierer.Seda145 @RayChow_OoO ,  
You need to  
[Manually add a bigger paging file](https://forums.unrealengine.com/t/cant-create-c-project-or-use-c/238169/2)

To Windows
