Visual Studio Express: fatal error c1060, compiler exits heap

I am trying to create a program from source code with VC 11, and when the compiler shuts down, this will lead to an error in the header. As I read here and in other forums, I alteady tried to close as many programs as possible and increase the size of the page file in Windows ... they do not work.

I read about a parameter named \ Zm, but I don't understand how to use it.

Can you help me?

+4
source share
4 answers

Take a look at this documentation which gives possible solutions:

https://msdn.microsoft.com/en-us/library/yz7kx3y2.aspx

. :

  • C1076 C3859, /Zm, . , .

/Zm , . , , . , /Zm .

  1. 64- , 64- . . . 64- Visual ++ .

  2. 32- Windows /boot-/3GB.

  3. Windows.

  4. .

  5. include.

  6. , , .

  7. .

  8. .

+2

/Zm, ( ).

- /m: 4 (4 CPU), .

, .

, x64, , "msbuild.exe" "cl.exe" x64 . , , , x64 ms powershell, - 32- msbuild.exe( msbuild.exe * 32 ", windows 7)

+1

: (, , Eigen-) . MSVC2013 x64, - C1060. , / -Zm, .

, , , x64/x64 (64- 64- ) x86/x86 (32- 32- ). x86 - , . ( ) ...

+1

( ), fatal error C1060: compiler is out of heap space . ( ) - , .

r.push_back(e[1];

r.push_back(e[1]);

, , error C2143: syntax error: missing ')' before ';', r e , , , .

+1

Source: https://habr.com/ru/post/1542363/


All Articles