I'm getting the following error when compiling stdafx.cpp in a VS 2010 project:
unable to obtain mapped memory (see pch_diag.txt)
I've attached the txt file.
When it does succeed, the pchi file is about 128 MB in size.
The only workaround I've found is to restart the PC and try again. That works the first time round, but then sometimes fails later on. (Or if I disable PCH then it'll build fine.)
My system is as follows:
For more complete information about compiler optimizations, see our Optimization Notice.