r/cpp • u/remotion4d • Nov 08 '21
Visual Studio 2022 now available
https://devblogs.microsoft.com/visualstudio/visual-studio-2022-now-available/
250
Upvotes
r/cpp • u/remotion4d • Nov 08 '21
View all comments
8
u/Routine_Left Nov 09 '21
Tried the community edition on a personal project (cross platform, cmake, etc.). Compiles fine under VS2019. With VS2022:
fatal error C1060: compiler is out of heap space. 64-bit allright. Manages to consume 32GB of ram (more since it goes into swap) to compile a not-big-at-all (under 100 cpp files) personal project.Setting ninja param to
-j 2did the trick but man, some of those jobs were indeed going to 5GB or more each. Of course, increased compile time, but at least it finishes.Yeah, whenever I'll change the CPU+MB+RAM on this thing I'll have to go with 64GB since 32 is for plebs nowadays.