Compiler Error C3859


The new home for Visual Studio documentation is Visual Studio 2017 Documentation on

The latest version of this topic can be found at Compiler Error C3859.

virtual memory range for PCH exceeded; please recompile with a command line option of '-Zmvalue' or greater

Your precompiled header is too small for the amount of data the compiler is trying to put in it. Use the /Zm compiler flag to specify a larger value for the precompiled header file. For more information, see /Zm (Specify Precompiled Header Memory Allocation Limit).