Hi @mwallner ,
From the document about /ZM, there is a recommended suggestion:
If the compiler emits the C1076 error message, an accompanying C3859 message specifies the factor argument to use when you recompile by using the /Zm compiler option. This message is only significant when a precompiled header uses #pragma hdrstop. In other cases, it is a spurious error caused by Windows virtual memory pressure issues, and the recommendation to use the /Zm option should be ignored. Instead, consider reducing the number of parallel processes when using the /maxcpucount option to MSBUILD.EXE in conjunction with the /MP option to CL.EXE. For more information, see Precompiled Header (PCH) issues and recommendations.
Hope it could help you.
Best Regards,
Dylan
---
If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.