# \[Crash\] Fatal error in GenericPlatformMemory.cpp

**URL:** <https://forums.unrealengine.com/t/crash-fatal-error-in-genericplatformmemory-cpp/372056>\
**Category:** Platform & Builds\
**Tags:** unreal-engine, crash, memory, question\
**Created:** [September 30, 2016, 11:38am UTC](https://forums.unrealengine.com/t/crash-fatal-error-in-genericplatformmemory-cpp/372056 "2016-09-30T11:38:09Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![SaOk](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SaOk](https://forums.unrealengine.com/u/SaOk)\
**Post date:** [September 30, 2016, 11:38am UTC](https://forums.unrealengine.com/t/crash-fatal-error-in-genericplatformmemory-cpp/372056/1 "2016-09-30T11:38:09Z")

</div>

Getting randomly this crash after 4.13.1, while placing static meshes in editor.

[2016.09.30-11.31.15:325][382]LogWindows:Error: Fatal error: [File:D:\Build++UE4+Release-4.13+Compile\Sync\Engine\Source\Runtime\Core\Private\GenericPlatform\GenericPlatformMemory.cpp] [Line: 147]  
[2016.09.30-11.31.15:325][382]LogWindows:Error: Ran out of memory allocating 18446744070340949812 bytes with alignment 0

Having 32Gt DDR memory and at least 60Gt free space in SSD/other related HD’s.

Also sent crashreport with MachineId:F87B756443F95CE9986941A672FE5264

link text

---

<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:** [September 30, 2016, 1:14pm UTC](https://forums.unrealengine.com/t/crash-fatal-error-in-genericplatformmemory-cpp/372056/2 "2016-09-30T13:14:30Z")

</div>

Hey SaOk,

Thanks for providing the logs and Machine ID.

I see that you’re working with Hierarchical Instanced Static Meshes. Could you provide a bit more information regarding this setup? Are you spawning any significant amount of them that could potentially cause you to run out of memory?

---

<div class="post-metadata">

**Author:** ![SaOk](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SaOk](https://forums.unrealengine.com/u/SaOk)\
**Post date:** [September 30, 2016, 2:34pm UTC](https://forums.unrealengine.com/t/crash-fatal-error-in-genericplatformmemory-cpp/372056/3 "2016-09-30T14:34:36Z")

</div>

I am using much the Hierarchical Instanced Static Meshes. Most of the house pieces and repeating details are instances. Recently began to use Instance Tool by Nate:

> **[Instance Tool - Editing instances directly in editor viewport](https://forums.unrealengine.com/showthread.php?121801-Instance-Tool-Editing-instances-directly-in-editor-viewport)**
>
> Get it from Unreal Engine Marketplace or itch.io! Instance Tool is an editor mode plugin for Unreal Engine, with it you can manipulate instances of Instanced Static Mesh Component and Hierarchical Instanced Static Mesh Component directly in editor...

I would estimate I have few 100s instance component actors with total 1500-4000 instances (+ foliage). The performance is superb (55-70fps), and having no issues when playtesting. Unreal Engine is using 2647mt.

Been testing with only 3 levels active while having this crash. Having 17 levels active have been working while playtesting.

EDIT: Restarted editor and now it says Unreal Engine is using 10986mt memory. Was already 9800mt before loading the 2 levels and 1000mt after those were loaded. :S

---

<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:** [September 30, 2016, 3:59pm UTC](https://forums.unrealengine.com/t/crash-fatal-error-in-genericplatformmemory-cpp/372056/4 "2016-09-30T15:59:41Z")

</div>

Thank you for the information.

As a test could you attempt to remove the third party plugin and see if you experience the same crash?

---

<div class="post-metadata">

**Author:** ![SaOk](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SaOk](https://forums.unrealengine.com/u/SaOk)\
**Post date:** [October 2, 2016, 7:38pm UTC](https://forums.unrealengine.com/t/crash-fatal-error-in-genericplatformmemory-cpp/372056/5 "2016-10-02T19:38:13Z")

</div>

There seem to be some meshes or at least one that is causing the crash, just by adding it into level. Could be the issue issue isnt instance related, but I will do testing during next week.

---

<div class="post-metadata">

**Author:** ![SaOk](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SaOk](https://forums.unrealengine.com/u/SaOk)\
**Post date:** [October 3, 2016, 11:47am UTC](https://forums.unrealengine.com/t/crash-fatal-error-in-genericplatformmemory-cpp/372056/6 "2016-10-03T11:47:24Z")

</div>

Nevermind, also getting the crash sometimes when alt-dublicating instances.

---

<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:** [October 3, 2016, 6:07pm UTC](https://forums.unrealengine.com/t/crash-fatal-error-in-genericplatformmemory-cpp/372056/7 "2016-10-03T18:07:01Z")

</div>

Thanks for the additional info. I haven’t been able to reproduce this at all on my end unfortunately. Have you been able to determine a consistent repro case for the crash, or have you been able to recreate it in a simplified test project?

---

<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:** [October 10, 2016, 2:08pm UTC](https://forums.unrealengine.com/t/crash-fatal-error-in-genericplatformmemory-cpp/372056/8 "2016-10-10T14:08:14Z")

</div>

Hello,

I am marking this topic as resolved for tracking purposes, as we have not heard from you in a few days. If this issue persists, feel free to respond to this thread. For any new issues, please create a new Answerhub topic.

Have a great day

---

<div class="post-metadata">

**Author:** ![neighborlee](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/neighborlee/32/1108786_2.png) [@neighborlee](https://forums.unrealengine.com/u/neighborlee)\
**Post date:** [January 29, 2023, 10:58pm UTC](https://forums.unrealengine.com/t/crash-fatal-error-in-genericplatformmemory-cpp/372056/9 "2023-01-29T22:58:03Z")

</div>

I also have this error, but in 5.1 project, 5101x5101 heavily sculpted terrain, to crash, all I did was go into world part tab, choose an area, unload it, played in game exited, then went to part tab again, to reload, and it crashed before I could do that.

Thx!!, any ideas ? I have amd ryzen 3600 6 core, 16gb 3600 ram and 8gb rx 6000 brandnew ( to me ). also when I try and save all, I get these weirdl can’[t save, these external actors ?? How do I fix this

> Blockquote

Thx
