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

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

<?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 …