# 4.10 memory leak

**URL:** <https://forums.unrealengine.com/t/4-10-memory-leak/338639>\
**Category:** AI\
**Tags:** unreal-engine, memory, bug-report, UE4, Blueprint, question\
**Created:** [November 16, 2015, 10:43am UTC](https://forums.unrealengine.com/t/4-10-memory-leak/338639 "2015-11-16T10:43:18Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![normal\_ST](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@normal\_ST](https://forums.unrealengine.com/u/normal_ST)\
**Post date:** [November 16, 2015, 10:43am UTC](https://forums.unrealengine.com/t/4-10-memory-leak/338639/1 "2015-11-16T10:43:18Z")

</div>

Editor starts to eat more memory(1-5mb per second) when some BPs opens, mostly AIs one(Behaviour tree, AIController,AICharacter…), other BPs don’t cause such a problem. Newly created AIController and AICharacter don’t cause this problem either.

So yeah, is there a solution for this?

Windows 8.1 64-bit.

---

<div class="post-metadata">

**Author:** ![Jamie\_Dale](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jamie_dale/32/1165413_2.png) [@Jamie\_Dale](https://forums.unrealengine.com/u/Jamie_Dale)\
**Post date:** [November 16, 2015, 12:16pm UTC](https://forums.unrealengine.com/t/4-10-memory-leak/338639/2 "2015-11-16T12:16:16Z")

</div>

Sounds like this? [4.9.1 Memory Leak - Programming & Scripting - Epic Developer Community Forums](https://answers.unrealengine.com/questions/311230/491-memory-leak.html)

---

<div class="post-metadata">

**Author:** ![normal\_ST](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@normal\_ST](https://forums.unrealengine.com/u/normal_ST)\
**Post date:** [November 16, 2015, 2:23pm UTC](https://forums.unrealengine.com/t/4-10-memory-leak/338639/3 "2015-11-16T14:23:48Z")

</div>

Unfortunately no, it’s very similar, but this happens even with 1 tabs, and when I close it, the memory still keep “leaking”(1-2mbs every second). And again, not every BP, and I might add, not only AI related BPs as I found out.

Can’t imagine what can cause it, it was find a while ago.

---

<div class="post-metadata">

**Author:** ![Sean\_Flint](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sean\_Flint](https://forums.unrealengine.com/u/Sean_Flint)\
**Post date:** [November 16, 2015, 7:46pm UTC](https://forums.unrealengine.com/t/4-10-memory-leak/338639/4 "2015-11-16T19:46:37Z")

</div>

Hello,

- Is the issue occurring only when you leave the tabs open?
- Are you doing anything to the tabs during this time?
- How often does this issue occur?
- Does this issue occur in a clean project with no additional content?
- Could you provide a screenshot of the task manager while this is occurring?

Thank you.

---

<div class="post-metadata">

**Author:** ![normal\_ST](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@normal\_ST](https://forums.unrealengine.com/u/normal_ST)\
**Post date:** [November 19, 2015, 10:05am UTC](https://forums.unrealengine.com/t/4-10-memory-leak/338639/5 "2015-11-19T10:05:00Z")

</div>

I made some testing, and it’s still hard to answer on all these questions.

1. No, it’s also happens when the main map is open, where all the Bps are, and no BPs tabs are open.
2. No.
3. Always, if the main map is loaded, or BPs tabs are open, even on empty map.
4. No, it not even occur in my main project, if empty map is open on project start.
5. Don’t see a reason for that, at some point it was 3GB+ eating memory on my really small project, which at normal rate eat 800mb-1.2GB at max. And also I watching memory usage at ue4 itself(It can be toggled at performance, if I recall correctly) but at task manager the memory usage for ue4 is almost the same.

Also I wanted to point out, that the memory leaks really slowly, as I said before, 1-3mb per second, and sometimes it stops for a few seconds, and then continues. So it takes about 10-25mins to get 2-3GB memory usage.

I tested my project on other computer, and result was the same.

---

<div class="post-metadata">

**Author:** ![szyszek](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@szyszek](https://forums.unrealengine.com/u/szyszek)\
**Post date:** [November 19, 2015, 1:47pm UTC](https://forums.unrealengine.com/t/4-10-memory-leak/338639/6 "2015-11-19T13:47:31Z")

</div>

I’m experiencing same issue and would like to point out another thing:

when I create a new project (any type) and add camera actor to the scene, editor memory usage jumps up. It’s obviously caused by preview viewport of the camera but when I deselect the camera, memory doesnt drop, it stays on the same level for w while and then begins to grow, just like normal\_ST described. Although, my editor is eating memory even without any blueprints/ai editor tabs open.

---

<div class="post-metadata">

**Author:** ![normal\_ST](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@normal\_ST](https://forums.unrealengine.com/u/normal_ST)\
**Post date:** [November 20, 2015, 11:37am UTC](https://forums.unrealengine.com/t/4-10-memory-leak/338639/7 "2015-11-20T11:37:16Z")

</div>

link text

3 full memreports, all made on first person example map, in my project,

1. memreport just open the map, no memory leak. ~500mb
2. memreport opened a few BP tabs. Loaded to memory. ~900mb
3. memreport waited for a few minutes, have some memory leak, from ~900mb memory usage to ~1.3GB and it’s still going. On my map this ticks much faster.

Still can’t find a solution to this bug.

---

<div class="post-metadata">

**Author:** ![normal\_ST](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@normal\_ST](https://forums.unrealengine.com/u/normal_ST)\
**Post date:** [November 20, 2015, 7:40pm UTC](https://forums.unrealengine.com/t/4-10-memory-leak/338639/8 "2015-11-20T19:40:29Z")

</div>

So any advice? I have no clue what to do next, I’m stuck, and can’t continue to work properly on the project, I would really appreciate some help.

---

<div class="post-metadata">

**Author:** ![Sean\_Flint](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sean\_Flint](https://forums.unrealengine.com/u/Sean_Flint)\
**Post date:** [November 24, 2015, 2:12pm UTC](https://forums.unrealengine.com/t/4-10-memory-leak/338639/9 "2015-11-24T14:12:15Z")

</div>

Hello,

I have entered two separate bug reports, UE-23794 and UE-23795. One relates to constantly increasing memory usage with few or no tabs open, and the other relates to a memory spike that occurs in PIE and never decreases. Thank you for your reports.

Have a great day,

Sean Flint

---

<div class="post-metadata">

**Author:** ![normal\_ST](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@normal\_ST](https://forums.unrealengine.com/u/normal_ST)\
**Post date:** [December 9, 2015, 2:33pm UTC](https://forums.unrealengine.com/t/4-10-memory-leak/338639/10 "2015-12-09T14:33:42Z")

</div>

I found what cause it.

Repro steps:

1. Any project will do but you can create a new one.
2. Create a new UMG.
3. Place a Text(Not TextBox, I did not test it with TextBox)
4. And change the Text to " "(Not empty, a single space character)
5. Then Create Blueprint.
6. Add Widget component to it.
7. Set widget class to our previously created widget(with " " text).
8. Place it anywhere in the level, memory leak should start any moment(Usually 10-60 secs).

I hope you will get the same result, it was really annoying bug.

---

<div class="post-metadata">

**Author:** ![Sean\_Flint](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sean\_Flint](https://forums.unrealengine.com/u/Sean_Flint)\
**Post date:** [December 9, 2015, 2:39pm UTC](https://forums.unrealengine.com/t/4-10-memory-leak/338639/11 "2015-12-09T14:39:14Z")

</div>

This issue has been fixed internally, and the fix will be available in a later version.

---

<div class="post-metadata">

**Author:** ![Sean\_Flint](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sean\_Flint](https://forums.unrealengine.com/u/Sean_Flint)\
**Post date:** [December 9, 2015, 2:40pm UTC](https://forums.unrealengine.com/t/4-10-memory-leak/338639/12 "2015-12-09T14:40:03Z")

</div>

Could you please open a new Answerhub topic regarding this issue? The repro steps seem to be different enough from what we were able to reproduce to warrant investigation. Thank you.

---

<div class="post-metadata">

**Author:** ![dx0ne](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@dx0ne](https://forums.unrealengine.com/u/dx0ne)\
**Post date:** [December 12, 2015, 3:10pm UTC](https://forums.unrealengine.com/t/4-10-memory-leak/338639/13 "2015-12-12T15:10:06Z")

</div>

Does it mean later than 4.10.1?

---

<div class="post-metadata">

**Author:** ![Sean\_Flint](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sean\_Flint](https://forums.unrealengine.com/u/Sean_Flint)\
**Post date:** [December 14, 2015, 2:01pm UTC](https://forums.unrealengine.com/t/4-10-memory-leak/338639/14 "2015-12-14T14:01:04Z")

</div>

This issue was fixed after 4.10.1 was released, so it was not one of the fixes that was addressed by the 4.10.1 hotfix.

---

<div class="post-metadata">

**Author:** ![Heroico](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Heroico](https://forums.unrealengine.com/u/Heroico)\
**Post date:** [May 5, 2016, 2:14am UTC](https://forums.unrealengine.com/t/4-10-memory-leak/338639/15 "2016-05-05T02:14:42Z")

</div>

Hi Sean, I am still getting this with 4.10.4, 4.11.2, and 4.12 preview 2

---

<div class="post-metadata">

**Author:** ![Sean\_Flint](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sean\_Flint](https://forums.unrealengine.com/u/Sean_Flint)\
**Post date:** [May 5, 2016, 1:16pm UTC](https://forums.unrealengine.com/t/4-10-memory-leak/338639/16 "2016-05-05T13:16:32Z")

</div>

Could you describe in a bit more detail which issue you are still experiencing?
