[4.9.2] Cannot compile due to virtual memory range for PCH exceeded;

Hi all!

I haven’t found my answer in the forum (I found someone who has the same problem I have but not an answer.)
I try to compile the UE4 project that I got from GitHub.

I did the setup.bat and then the GenerateProjectFiles.bat

ANd here is the result of the compilation :


19>------ Build started: Project: UE4, Configuration: Development_Editor x64 ------
19>Build started 21/10/2015 7:39:56 PM.
19>Build:
19>  Creating makefile for UE4Editor (no existing makefile)
19>  Performing full C++ include scan (no include cache file)
19>  Building UnrealHeaderTool...
19>  Performing 5 actions (4 in parallel)
19>  PCH.CoreUObject.h.cpp
19>d:\unreal\unrealengine\engine\source\runtime\core\public\delegates\DelegateSignatureImpl_Variadics.inl(272): error C3859: virtual memory range for PCH exceeded; please recompile with a command line option of '-Zm23' or greater
19>d:\unreal\unrealengine\engine\source\runtime\core\public\delegates\DelegateSignatureImpl_Variadics.inl(272): fatal error C1076: compiler limit : internal heap limit reached; use /Zm to specify a higher limit
19>  -------- End Detailed Actions Stats -----------------------------------------------------------
19>ERROR : UBT error : Failed to produce item: D:\Unreal\UnrealEngine\Engine\Plugins\ScriptGeneratorPlugin\Binaries\Win64\UnrealHeaderTool-ScriptGeneratorPlugin.dll
19>  Total build time: 5.41 seconds
19>  UnrealHeaderTool failed for target 'UE4Editor' (platform: Win64, module info: D:\Unreal\UnrealEngine\Engine\Intermediate\Build\Win64\UE4Editor\Development\UnrealHeaderTool.manifest).
19>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 -waitmutex" exited with code -1.
19>
19>Build FAILED.
19>
19>Time Elapsed 00:00:13.08

I try to find the properties of the project but everything is embedded in makefile that seems to be created during the compilation.

I tried to step into UnrealBuildTool but even there, I haven’t found my way correctly.

So
1/ is there any documentation that I haven’t found somewhere?
2/ how could I fix my problem?

Try building with the 4.9 branch, not the release branch. I don’t really understand GitHub…but it looks like 4.10-preview being merged into the release fork?