Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.
7875 Discussions

unable to obtain mapped memory (see pch_diag.txt) error with compiler 12.1.4


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:

  • Windows 7 x64 SP1
  • 12 GB RAM
  • 26 GB free disk space
  • Visual Studio 2010
  • Intel C++ Compiler from Parallel Composer 2011 Update 10
0 Kudos
0 Replies