Heap limit while compiling in ProjectLauncher

Hi to all, I’m trying to deploy my project for Windows using the ProjectLauncher, but when reach the step “Building game for Windows” it fails and the only error messages are that the compiler internal heap limit has been reached and that suggests to increase it using \Zm.
How can I change this setting in UE4 Editor order to solve the problem?

The only i know how to do this is to modify VCToolChain.cs (hopefully you’re using a source build)

if(Compiler >= WindowsCompiler.VisualStudio2015)
{
        Arguments.Add("/Zc:inline");
}

But, maybe there’s a better a solution. Do you have any other diagnostic output?

In the VCToolChain.cs the file has already that code into AppendCLArguments_Global(), how does I have to modify it?
It says to specify an higher heap linit, at least above Zm88

I’m guessing it’d be the following. Please note I haven’t tried this.

 if(Compiler >= WindowsCompiler.VisualStudio2015)
 {
         Arguments.Add("/Zc:inline");
         Arguments.Add("/ZmNUMBER");
 }

https://msdn.microsoft.com/en-us/library/aa278580(v=vs.60).aspx

Looks like a common issues.

https://visualstudio.uservoice.com/forums/121579-visual-studio-ide/suggestions/13294989-stop-with-zm-nonsense