# Editor Memory Leak?

**URL:** <https://forums.unrealengine.com/t/editor-memory-leak/379219>\
**Category:** Platform & Builds\
**Tags:** memory-leak, unreal-engine, question\
**Created:** [December 14, 2016, 1:13am UTC](https://forums.unrealengine.com/t/editor-memory-leak/379219 "2016-12-14T01:13:17Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Skifree](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Skifree](https://forums.unrealengine.com/u/Skifree)\
**Post date:** [December 14, 2016, 1:13am UTC](https://forums.unrealengine.com/t/editor-memory-leak/379219/1 "2016-12-14T01:13:17Z")

</div>

I don’t know if this is specific to the crashes that i’ve made other threads about, but it seems that once I enabled memory monitoring, that I load my level at 1.7gb and some sort of crash happens just after 3gb. Is there a way to reduce the amount of memory being used or is this a bug? I have a 16GB ram macbook pro that otherwise runs everything fine but I can’t figure out why the editor (not the actual gam) builds up memory usage so quickly?

---

<div class="post-metadata">

**Author:** ![Skifree](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Skifree](https://forums.unrealengine.com/u/Skifree)\
**Post date:** [December 15, 2016, 10:05pm UTC](https://forums.unrealengine.com/t/editor-memory-leak/379219/2 "2016-12-15T22:05:32Z")

</div>

Any updates on this? It’s a pretty consistent issue, though can at the least I can now make controlled exists and re-loads of the game by keeping an eye on the memory usage.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_280dd372](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_280dd372](https://forums.unrealengine.com/u/anonymous_user_280dd372)\
**Post date:** [December 21, 2016, 9:48pm UTC](https://forums.unrealengine.com/t/editor-memory-leak/379219/3 "2016-12-21T21:48:44Z")

</div>

Hey ,

We are unable to reproduce this on Mac, but we recently had a memory leak associated with users leaving the Project Settings window open. Can you ensure that that isn’t open?

3GB is not a lot of memory usage for a UE4 project, so I suspect the crash is not being caused by the memory usage. The level itself could be corrupt or other processes on your mac could be taking up a lot of memory. Could you check your activity monitor?

-

---

<div class="post-metadata">

**Author:** ![Skifree](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Skifree](https://forums.unrealengine.com/u/Skifree)\
**Post date:** [December 22, 2016, 7:02pm UTC](https://forums.unrealengine.com/t/editor-memory-leak/379219/4 "2016-12-22T19:02:44Z")

</div>

The project settings window is not required to be open for this issue to occur and I don’t use it much other than to create new inputs. The screenshots were taken a few moments before the crash log that I just submitted. Unfortunately it won’t fit in these input fields. As you can see the level is empty except for the blueprint which spawns other actors into place.

MachineId:F0042523A64FEA0F892E9CAF543ABDFA

 ![119624-screen+shot+2016-12-22+at+10.52.01+am.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/5/c/95c62265a46f5ac87c28751668d1d0054c18c20c.png)

 ![119625-screen+shot+2016-12-22+at+10.51.01+am.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/4/e/24e6fd10248ced8dc5c11be3680dcc6e7bda664d.jpeg)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_bcdd396d](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_bcdd396d](https://forums.unrealengine.com/u/anonymous_user_bcdd396d)\
**Post date:** [December 27, 2016, 6:10pm UTC](https://forums.unrealengine.com/t/editor-memory-leak/379219/5 "2016-12-27T18:10:25Z")

</div>

Try migrating this blueprint and its associated files to a blank project and add to an empty level. If the crash occurs, please provide this test as a link to a zipped project on Dropbox, Google drive etc. If you do not want to post it publicly, you can send the link to me on our .

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_bcdd396d](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_bcdd396d](https://forums.unrealengine.com/u/anonymous_user_bcdd396d)\
**Post date:** [January 5, 2017, 3:37pm UTC](https://forums.unrealengine.com/t/editor-memory-leak/379219/6 "2017-01-05T15:37:55Z")

</div>

Hi ,

Since we have not heard back from you in a while, we are marking this post “resolved” for tracking purposes. However, if you are still experiencing crashes with memory monitoring enabled on your Mac, please respond with the requested information and test project and we will continue to investigate.

Thanks,

.

---

<div class="post-metadata">

**Author:** ![Skifree](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Skifree](https://forums.unrealengine.com/u/Skifree)\
**Post date:** [January 5, 2017, 5:36pm UTC](https://forums.unrealengine.com/t/editor-memory-leak/379219/7 "2017-01-05T17:36:35Z")

</div>

Please keep this ticket open. I haven’t been able to reproduce it when migrating files yet, but it still crashes with regular frequency.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_bcdd396d](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_bcdd396d](https://forums.unrealengine.com/u/anonymous_user_bcdd396d)\
**Post date:** [January 5, 2017, 9:37pm UTC](https://forums.unrealengine.com/t/editor-memory-leak/379219/8 "2017-01-05T21:37:37Z")

</div>

Since we cannot replicate the error at this time there is nothing more we can do with this ticket. However, if you can provide a way for us to reproduce the crash, either with a project or merely with a list of precise repro steps, simply post that information here and it will reopen this ticket automatically.

---

<div class="post-metadata">

**Author:** ![Skifree](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Skifree](https://forums.unrealengine.com/u/Skifree)\
**Post date:** [January 11, 2017, 2:39am UTC](https://forums.unrealengine.com/t/editor-memory-leak/379219/9 "2017-01-11T02:39:55Z")

</div>

@,

How can I send you a project link via pm/email if I don’t want to post the project publicly online?

I migrated over the project to a blank project, and I removed all but the necessary files to run in the editor - it is now at about 40mb. The project starts with lower memory and seems to take longer to crash, but it continues to crash at around 3500-4000 mb, though it seems to take longer to trigger it.

For the life of me I cannot figure out where the crash or surge in memory comes from.

Thanks,

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_bcdd396d](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_bcdd396d](https://forums.unrealengine.com/u/anonymous_user_bcdd396d)\
**Post date:** [January 12, 2017, 6:14pm UTC](https://forums.unrealengine.com/t/editor-memory-leak/379219/10 "2017-01-12T18:14:07Z")

</div>

Hi ,

Please send a link to your zipped file posted on Dropbox, Google Drive, etc. to me in a Private Message on our . -This will go to me only and not posted publicly. We have done this in the past with similar, problem issues.

---

<div class="post-metadata">

**Author:** ![Skifree](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Skifree](https://forums.unrealengine.com/u/Skifree)\
**Post date:** [January 12, 2017, 6:30pm UTC](https://forums.unrealengine.com/t/editor-memory-leak/379219/11 "2017-01-12T18:30:38Z")

</div>

Much appreciated! i just sent you the link on the .

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_bcdd396d](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_bcdd396d](https://forums.unrealengine.com/u/anonymous_user_bcdd396d)\
**Post date:** [January 16, 2017, 8:10pm UTC](https://forums.unrealengine.com/t/editor-memory-leak/379219/12 "2017-01-16T20:10:05Z")

</div>

Hi ,

The project you sent requires 4 plugins that we do not have access to and may be the cause of the crash. In which case you would need to contact: [ue4@lowentry.com](http://ue4@lowentry.com) for support.

However, if you can reproduce this behavior in a project that does not require 3rd party plugins, please send us that project and we will continue to investigate the issue.

Thanks,

.

---

<div class="post-metadata">

**Author:** ![Skifree](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Skifree](https://forums.unrealengine.com/u/Skifree)\
**Post date:** [January 16, 2017, 9:21pm UTC](https://forums.unrealengine.com/t/editor-memory-leak/379219/13 "2017-01-16T21:21:14Z")

</div>

I will give that a try and let you know what happens. Is it possible for plugins to corrupt or crash the editor?

My understanding is that plugins are not in effect until the game is compiled or running?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_bcdd396d](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_bcdd396d](https://forums.unrealengine.com/u/anonymous_user_bcdd396d)\
**Post date:** [January 18, 2017, 10:41pm UTC](https://forums.unrealengine.com/t/editor-memory-leak/379219/14 "2017-01-18T22:41:13Z")

</div>

It’s not likely but I wouldn’t rule them out entirely. In any event, if you can reproduce this without any third person plugins present and can provide us a copy of the project it will aid us immensely to pinpoint the cause of the crash/memory leak.

---

<div class="post-metadata">

**Author:** ![Skifree](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Skifree](https://forums.unrealengine.com/u/Skifree)\
**Post date:** [January 18, 2017, 11:08pm UTC](https://forums.unrealengine.com/t/editor-memory-leak/379219/15 "2017-01-18T23:08:16Z")

</div>

I’m still working on this. I tried one by removing a significant amount of the plugins, and it seemingly resolved it, so I created a new version of it with his plugins in. But while creating the new version, I slimmed down the project, removing most meshes and actors that I thought weren’t relevant. I ended up with a version that I cannot crash.

I created another version to send to LE, but with the plugin active, and a slimmed down the project by removing a bunch of actors I thought were irrelevant. That also produced a version that I couldn’t crash.

I imagine that in both cases I may have changed a BP that was contributing to the issue?

I will keep working on trying to find a version that still crashes with the game in without the plugins. The main issue with removing the plugin is that the BPs rely heavily upon the filesystem and json libraries that the plugins create, and much of it is interwoven, so removing the library requires a bit of massaging of other BPs

---

<div class="post-metadata">

**Author:** ![Skifree](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Skifree](https://forums.unrealengine.com/u/Skifree)\
**Post date:** [January 19, 2017, 6:42am UTC](https://forums.unrealengine.com/t/editor-memory-leak/379219/16 "2017-01-19T06:42:19Z")

</div>

I tried this again tonight, but removing the LE plugins require me to remove such a significant amount of the project that it isn’t at all the same project anymore, with entire libraries essentially useless.

At this point I don’t know if it is because I’ve severed so many blueprints, or if it because I removed the plugins.

Is there any way to point myself in the right direction using the logs that the error generates? Surely they can point me towards something section of my blueprints?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_bcdd396d](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_bcdd396d](https://forums.unrealengine.com/u/anonymous_user_bcdd396d)\
**Post date:** [January 19, 2017, 4:22pm UTC](https://forums.unrealengine.com/t/editor-memory-leak/379219/17 "2017-01-19T16:22:54Z")

</div>

The bug you’ve reported for project **Blueprint\_kTesting** (UE-38772) has been shown fixed for UE4.15. If you want to test this, open a **COPY** of your project in UE4.15Preview (do not over-write your original.) In fact, you may want to make a back-up of your Unreal Projects folder altogether, if you have not already.

As far as the project **UE4-DebugProjectJan18** almost all reported crashes start with:

```
 UE4Editor-CoreUObject.dylib!FPackageName::FilenameToLongPackageName() 

```

…which would likely be caused by a folder or asset in a directory to have too many characters or an invalid character. The name “UE4-DebugProjectJan18” seems a little long but may not be the culprit.

Check your assets in the Content folder and subfolders of the Content folder in your Project folder to make sure neither your assets or their containing folders have more than 21 characters and that those characters are not invalid (ie… : ? ; “” etc.)

If you do not find any, try renaming your project to something shorter or migrating you files to a project with a shorter name.

---

<div class="post-metadata">

**Author:** ![Skifree](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Skifree](https://forums.unrealengine.com/u/Skifree)\
**Post date:** [January 19, 2017, 9:03pm UTC](https://forums.unrealengine.com/t/editor-memory-leak/379219/18 "2017-01-19T21:03:14Z")

</div>

Thank you, this all helps. I will try out the 4.15 preview! Fortunately, backups are the one thing I have going well. I’ll keep the name length in mind when creating these.

Thank you for the extra information.

---

<div class="post-metadata">

**Author:** ![Skifree](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Skifree](https://forums.unrealengine.com/u/Skifree)\
**Post date:** [January 20, 2017, 12:38am UTC](https://forums.unrealengine.com/t/editor-memory-leak/379219/19 "2017-01-20T00:38:51Z")

</div>

As for the time being, I cannot even launch the preview without a crash. I’ll keep an eye on the thread/response.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_bcdd396d](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_bcdd396d](https://forums.unrealengine.com/u/anonymous_user_bcdd396d)\
**Post date:** [January 20, 2017, 3:54pm UTC](https://forums.unrealengine.com/t/editor-memory-leak/379219/20 "2017-01-20T15:54:17Z")

</div>

I’ve responded to that thread and will work with you there to get the UE4.15 Preview running. Please wait until you are able to open the 4.15 Preview before updating this thread (for tracking purposes) -Thanks!
