# 4.15.1 Blueprint memory leaks

**URL:** <https://forums.unrealengine.com/t/4-15-1-blueprint-memory-leaks/392324>\
**Category:** Blueprint\
**Tags:** unreal-engine, memory, bug-report, editor, Blueprint, question\
**Created:** [April 30, 2017, 8:37pm UTC](https://forums.unrealengine.com/t/4-15-1-blueprint-memory-leaks/392324 "2017-04-30T20:37:23Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dev.TMG](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Dev.TMG](https://forums.unrealengine.com/u/Dev.TMG)\
**Post date:** [April 30, 2017, 8:37pm UTC](https://forums.unrealengine.com/t/4-15-1-blueprint-memory-leaks/392324/1 "2017-04-30T20:37:23Z")

</div>

Hi,

While editing blueprints, memory usage goes up, makes editor no response for several 10s of seconds.  
More exactly, just viewing blueprints also triggers this.

My environment is  
UE: 4.15.1  
OS: WIndows 7 64bit  
RAM: 16GB

Memory usage goes up when

- Zoom in/out or Scroll in blueprint editor (== some node get visible in blueprint editor window)
- Mouse over some node and show tool tip
- Compile a blueprint
- Play / Stop in editor
- Open output log window (depends on logs, but I experienced 5GB up)
- Open editor settings (around 300MB up)
- Scroll in editor settings

When Construction Script is connected to any function, these symptoms get strong, I feel.  
Construction Script is called many times, so memory goes up easily.

If the same function connected to is Construction Script is unlinked from Construction Script and connected to BeginPlay event,

- Objs count up slightly, no memory changes when compiling a blueprint
- Mem goes up slightly (about 0.02MB or so) when simulate (This is enough for many cases)
- Mem goes up when play (around 100MB)

Process of UE and swarm does not stop (keep showing up in task manager) after exited UE and launcher, so need to kill UE process manually to free memory. (If not, memory and page files usage are kept for several minutes.)

Screen shots

1.memory usage when opening editor

![136226-ue_mem_start.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/b/a/5ba677b23caf62afbf180c18add5354f3986cd20.png)

2.compiled a blueprint once

![136227-ue_mem_compile_1.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/e/5/6e5064d27d4d958a465a95214046cd86880b8c68.png)

3.compiled a blueprint again

![136228-ue_mem_compile_2.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/d/4/1d4cd5ab63bd0f5edf10b83ae9b91ff79b737445.png)

4.play

![136229-ue_mem_play_after_compile_2.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/7/e/17e9397b2f2455110148178a591b4370c6640d5c.png)

5.after several operations (edit a blueprint, compile and play)  
Eats up memory and page files. (Total over 30GB)  
Opening output log is extremely heavy. (Takes few minutes as pagefile thrashing occurs)

![136230-ue_mem_end.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/c/0/7c0cae385d1778186e155a1f48a0f57dc39e02c3.png)

Similar posts:  
[4.7.3 Blueprint memory leaks](https://answers.unrealengine.com/questions/196731/473-blueprint-memory-leaks.html)  
[Unreal engine Mass Ram usage](https://answers.unrealengine.com/questions/198949/unreal-engine-mass-ram-usage.html)

Thanks

---

<div class="post-metadata">

**Author:** ![Hyperloop](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/hyperloop/32/1203427_2.png) [@Hyperloop](https://forums.unrealengine.com/u/Hyperloop)\
**Post date:** [April 30, 2017, 9:13pm UTC](https://forums.unrealengine.com/t/4-15-1-blueprint-memory-leaks/392324/2 "2017-04-30T21:13:25Z")

</div>

What are you doing in the construction script?

---

<div class="post-metadata">

**Author:** ![ScrapingBottom](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ScrapingBottom](https://forums.unrealengine.com/u/ScrapingBottom)\
**Post date:** [April 30, 2017, 11:08pm UTC](https://forums.unrealengine.com/t/4-15-1-blueprint-memory-leaks/392324/3 "2017-04-30T23:08:58Z")

</div>

I was having a similar issue a month or so ago and I thought it was UE4. Any chance you’re using a Killer network adapter? They have issues with memory leaks, but can be fixed in the registry. [Memory leak in Windows 8.1 with Killer E2200 and Windows Network Data Usage Monitoring | Blue Blue Wave](https://bluebluewave.wordpress.com/2014/02/27/memory-leak-in-windows-8-1-with-killer-e2200-and-windows-network-data-usage-monitoring/)

 ![136250-killer+network.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/9/9/299489c79dcf747b6d151394ab0b4585bb351572.png)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_e729f54e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e729f54e](https://forums.unrealengine.com/u/anonymous_user_e729f54e)\
**Post date:** [May 2, 2017, 3:16pm UTC](https://forums.unrealengine.com/t/4-15-1-blueprint-memory-leaks/392324/4 "2017-05-02T15:16:29Z")

</div>

Hello Dev.TMG,

I ran through the steps provided above. I did not see any significant jumps in memory usage. Some to the jumps I saw were temporary spikes but even those were not as high as the leak that you have reported. Can you reproduce this issue in a clean project?

---

<div class="post-metadata">

**Author:** ![Dev.TMG](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Dev.TMG](https://forums.unrealengine.com/u/Dev.TMG)\
**Post date:** [May 11, 2017, 3:45am UTC](https://forums.unrealengine.com/t/4-15-1-blueprint-memory-leaks/392324/5 "2017-05-11T03:45:52Z")

</div>

> Can you reproduce this issue in a clean project?  
> I made a new project with first person template, add a new actor blueprint (just created. opened bp editor but no edits) and tested again and it reproduced.  
> Editor ui component also seems to trigger part of these. (as just mouse over, selecting a component, show tool tip, scroll in detail tab etc also cause memory usage up. Some of them seems to be cleaned but total memory usage goes up.)

Environment:  
OS: Windows 7 64bit (Japanese)  
Ram: 16GB  
UE: 4.15.2  
UE Language setting: Step 1-19: Japanese, Step 20-22: English

BTW, attachment file link seems something wrong.

 ![137566-merged_0.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/0/5/f05f8f4e3723dfcc2ac574d201c3aecaad8eed19.png)

 ![137563-merged_1.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/2/f/12f37bd99ef6089cc2c5c762b22b7dac4cdf3597.png)

 ![137564-merged_2.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/9/a/79a795ddbfbdf700d76c752a7c0f538257545b6b.png)

![137565-merged_3.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/f/c/efc67251af868f5264afbab7ee605b663ea3ff1e.png)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_e729f54e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e729f54e](https://forums.unrealengine.com/u/anonymous_user_e729f54e)\
**Post date:** [May 22, 2017, 6:51pm UTC](https://forums.unrealengine.com/t/4-15-1-blueprint-memory-leaks/392324/6 "2017-05-22T18:51:19Z")

</div>

After looking over the information provided and doing some digging I was able to find that this is a known issue. I noticed that in the examples provided the memory usually jumps when using PIE (play in editor). I have provided a link to the public tracker. Please feel free to use the link provided for future updates.

Link: [Unreal Engine Issues and Bug Tracker (UE-23795)](https://issues.unrealengine.com/issue/UE-23795)

Make it a great day
