Skip to content

Build Memory Consumption #1899

Answered by kixorz
kixorz asked this question in Q&A
Discussion options

You must be logged in to vote

I tested the suggested approach with -DBUILD_ONLY="ec2" with the same result as before. The EC2Client.cpp.o is too large to compile with 4GB of RAM. The SDK builds successfully with 8GB of RAM so the minimum build machine memory requirement is 8GB of RAM.

[  5%] Building CXX object aws-cpp-sdk-ec2/CMakeFiles/aws-cpp-sdk-ec2.dir/source/EC2Client.cpp.o
virtual memory exhausted: Cannot allocate memory
make[5]: *** [aws-cpp-sdk-ec2/CMakeFiles/aws-cpp-sdk-ec2.dir/build.make:64: aws-cpp-sdk-ec2/CMakeFiles/aws-cpp-sdk-ec2.dir/source/EC2Client.cpp.o] Error 1

Replies: 5 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by jmklix
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
documentation This is a problem with documentation.
2 participants
Converted from issue

This discussion was converted from issue #1890 on April 05, 2022 17:31.