-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Compiler is out of heap space - MSVC 2017 #4819
Copy link
Copy link
Closed
Description
OS : Windows 11
cd poco
cd cmake-build
cmake .. -G "Visual Studio 15 2017"
cmake --build . --config Release
I get the following build error :
ODBCStatementImpl.cpp
Parameter.cpp
Preparator.cpp
SessionImpl.cpp
TypeInfo.cpp
E:\poco\Foundation\include\Poco/Tuple.h(3128): fatal error C1060: compiler is out of heap space [E:\poco\cmake-build\Data\ODBC\DataODBC.vcxproj]
Unicode.cpp
I tried lowering the memory allocation limit with the /Zm flag, as more heap space memory is allocated, but I still can't build the project.
This link suggest the following :
Eliminate unnecessary include files.
Eliminate unnecessary global variables, for example, by allocating memory dynamically instead of declaring a large array.
Eliminate unused declarations.
Split the current file into smaller files.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels