Skip to content

Reduce memory usage during installation by disabling cppcms test build #3

Open
Yorwba wants to merge 2 commits into
Tatoeba:masterfrom
Yorwba:compilation-memory-usage
Open

Reduce memory usage during installation by disabling cppcms test build #3
Yorwba wants to merge 2 commits into
Tatoeba:masterfrom
Yorwba:compilation-memory-usage

Conversation

@Yorwba

@Yorwba Yorwba commented Nov 22, 2021

Copy link
Copy Markdown

After taking a closer look at the out-of-memory error in Tatoeba/tatoeba2#2859 , I noticed that the error always happened when compiling one of the tests for cppcms (specifically xss_test). Since running the tests is already disabled, building them is completely unnecessary. Commenting out the corresponding lines of cppcms's CMakeLists.txt reduces the memory requirements enough for the build to succeed.

(By the way, is there some way to make Ansible present the output of failed commands in a more readable way than the one-line JSON object it produces by default? That was fairly annoying to work with.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant