# Memory Leak

**URL:** <https://forums.unrealengine.com/t/memory-leak/1657258>\
**Category:** Rendering\
**Tags:** unreal-engine, question\
**Created:** [February 1, 2024, 1:46am UTC](https://forums.unrealengine.com/t/memory-leak/1657258 "2024-02-01T01:46:38Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![michaudronald](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@michaudronald](https://forums.unrealengine.com/u/michaudronald)\
**Post date:** [February 1, 2024, 1:46am UTC](https://forums.unrealengine.com/t/memory-leak/1657258/1 "2024-02-01T01:46:38Z")

</div>

Why is the memory constantly going up in a packaged project. It does it every time in different projects. I tried version 5.2.1 and 5.3.2 they both do the same thing. What could be the cause of this ?

---

<div class="post-metadata">

**Author:** ![EgoidLee](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@EgoidLee](https://forums.unrealengine.com/u/EgoidLee)\
**Post date:** [February 1, 2024, 2:34am UTC](https://forums.unrealengine.com/t/memory-leak/1657258/2 "2024-02-01T02:34:09Z")

</div>

All the un-managed pointers are candidates, Unreal Engine Internal mostly used managed pointers like TSharedPtr\<Pointer\*\>, but RHI Resource series does not. My guess is memory corruption cause from here RHI Resource area seems to be, like Migration Material resources from UE4.

---

<div class="post-metadata">

**Author:** ![SupportiveEntity](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SupportiveEntity](https://forums.unrealengine.com/u/SupportiveEntity)\
**Post date:** [February 1, 2024, 4:50am UTC](https://forums.unrealengine.com/t/memory-leak/1657258/3 "2024-02-01T04:50:25Z")

</div>

Hey there @michaudronald! It could be related to the issue discussed in this thread from 5.2, though this was corrected for some users with the release of 5.3. Give the workarounds listed here a shot and if they don’t work out, let me know!

> [@Memory leak in 5.2](https://forums.unrealengine.com/t/memory-leak-in-5-2/1174844/24):
>
> 5.3 fixed it for me. That’s strange. I hope it gets fixed for you soon.

---

<div class="post-metadata">

**Author:** ![michaudronald](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@michaudronald](https://forums.unrealengine.com/u/michaudronald)\
**Post date:** [February 1, 2024, 3:08pm UTC](https://forums.unrealengine.com/t/memory-leak/1657258/4 "2024-02-01T15:08:21Z")

</div>

Thanks i tried with “shipping” selected and that seems to have fixed the problem in the build. That’s good enough for me. If i have to use that setting i will try it out but for now the fact it stops on shipping build is good enough thanks again.

---

<div class="post-metadata">

**Author:** ![system](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/1/3/713c9d3f58553f0de89543d76a8a3a2779dc9fa4.png) [@system](https://forums.unrealengine.com/u/system)\
**Post date:** [March 2, 2024, 3:08pm UTC](https://forums.unrealengine.com/t/memory-leak/1657258/5 "2024-03-02T15:08:38Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
