# HG changeset patch # User Sebastien Jodogne # Date 1550313534 -3600 # Node ID 212abfffc44df70687afe469011d4a0d94f92239 # Parent bce0e4c9ca455b719897ba4f145dda64c69c9b55 still increasing heap size diff -r bce0e4c9ca45 -r 212abfffc44d Resources/CMake/Compiler.cmake --- a/Resources/CMake/Compiler.cmake Sat Feb 16 11:30:35 2019 +0100 +++ b/Resources/CMake/Compiler.cmake Sat Feb 16 11:38:54 2019 +0100 @@ -39,7 +39,7 @@ if (BOOST_LOCALE_BACKEND STREQUAL "icu") # If compiling icu, the heap space must be further increased: # "icudt58l_dat.c(1638339): fatal error C1060: compiler is out of heap space" - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /Zm512") + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /Zm1024") else() # Add /Zm256 compiler option to Visual Studio to fix PCH errors set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /Zm256")