# For those with heap issues regardless version and error on final step compiling unreal source code

**URL:** <https://forums.unrealengine.com/t/for-those-with-heap-issues-regardless-version-and-error-on-final-step-compiling-unreal-source-code/2135487>\
**Category:** C++\
**Tags:** c-c, c-class-wizard, c-and-bluepri, c-custommeshcomponen, c-and-blueprint, c-error, c-class, c-custom-shape, c-programming, c-cone-shape, unreal-engine, CPP\
**Created:** [November 19, 2024, 3:51pm UTC](https://forums.unrealengine.com/t/for-those-with-heap-issues-regardless-version-and-error-on-final-step-compiling-unreal-source-code/2135487 "2024-11-19T15:51:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![enga](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@enga](https://forums.unrealengine.com/u/enga)\
**Post date:** [November 19, 2024, 3:51pm UTC](https://forums.unrealengine.com/t/for-those-with-heap-issues-regardless-version-and-error-on-final-step-compiling-unreal-source-code/2135487/1 "2024-11-19T15:51:29Z")

</div>

After generating project file go into

if u cant see i attached snippet code to my usename, so just click there

UnrealEngine\Engine\Saved\UnrealBuildTool\BuildConfiguration.xml to this to alow your computer to compile without any out of heap issues or u will get error on last step and error computing ms build in last step. this is valid for all version .

replace standard with this

```auto
<?xml version="1.0" encoding="utf-8" ?>
<Configuration xmlns="https://www.unrealengine.com/BuildConfiguration">
<BuildConfiguration>
  </BuildConfiguration>
  <LocalExecutor>
    <MaxProcessorCount>12</MaxProcessorCount>
  </LocalExecutor>
  <ParallelExecutor>
    <MaxProcessorCount>12</MaxProcessorCount>
  </ParallelExecutor>
  
</Configuration>

```

do according to ure computer processing capabilitys. build again or redo and do edit confi  
g befor bild, less files

If u have error 6 U need to use the proper compiling sdk, and tool ue 4 is 2019, ue 5 is 2022

as me my fav was 4.27 perfect compile button on top, i did try rebrand 4,27 to 2022 compiler it almost worked but fact was on ms last function compiling ue to a program(missing main comp)bc wrong version, that it failed, even doing the config settings. i think external program also need 2022. Altho lib in ms has not changed i might be possible compile 4.27 toward 22 using different ms linkage, since rest i s compiled ok… i miss my top compile button …
