I am trying to build the 4.0.1 build from github with MSVS Express 2013 running on windows 7.
When i try to build i get these errors after about 15 seconds
Error 1 error : System.OutOfMemoryException: Insufficient memory to continue the execution of the program. E:\UE4\UnrealEngine\Engine\Intermediate\ProjectFiles\EXEC UE4
Error 2 error : UnrealHeaderTool failed for target 'UE4Editor' (platform: Win64, module info: E:\UE4\UnrealEngine\Engine\Intermediate\Build\Win64\UE4Editor\Development\UnrealHeaderTool.manifest). E:\UE4\UnrealEngine\Engine\Intermediate\ProjectFiles\EXEC UE4
Error 3 error MSB3073: The command "..\..\Build\BatchFiles\Build.bat UE4Editor Win64 Development" exited with code -1. C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.MakeFile.Targets 38 5 UE4
VS Output
1>------ Build started: Project: UE4, Configuration: Development_Editor x64 ------
1> Building UnrealHeaderTool...
1>EXEC : error : System.OutOfMemoryException: Insufficient memory to continue the execution of the program.
1> at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
1> at System.Management.ManagementScope.InitializeGuts(Object o)
1> at System.Management.ManagementScope.Initialize()
1> at System.Management.ManagementObjectSearcher.Initialize()
1> at System.Management.ManagementObjectSearcher.Get()
1> at UnrealBuildTool.LocalExecutor.ExecuteActions(List`1 Actions) in e:\UE4\UnrealEngine\Engine\Source\Programs\UnrealBuildTool\System\LocalExecutor.cs:line 289
1> at UnrealBuildTool.UnrealBuildTool.ExecuteActions(List`1 ActionsToExecute, String& ExecutorName) in e:\UE4\UnrealEngine\Engine\Source\Programs\UnrealBuildTool\System\ActionGraph.cs:line 267
1> at UnrealBuildTool.UnrealBuildTool.RunUBT(String[] Arguments) in e:\UE4\UnrealEngine\Engine\Source\Programs\UnrealBuildTool\System\UnrealBuildTool.cs:line 1109
1> Cumulative action seconds (8 processors): 0.00 building projects, 0.00 compiling, 0.00 creating app bundles, 0.00 generating debug info, 0.00 linking, 0.00 other
1> UBT execution time: 6.18 seconds
1>EXEC : error : UnrealHeaderTool failed for target 'UE4Editor' (platform: Win64, module info: E:\UE4\UnrealEngine\Engine\Intermediate\Build\Win64\UE4Editor\Development\UnrealHeaderTool.manifest).
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.MakeFile.Targets(38,5): error MSB3073: The command "..\..\Build\BatchFiles\Build.bat UE4Editor Win64 Development" exited with code -1.
========== Build: 0 succeeded, 1 failed, 1 up-to-date, 0 skipped ==========