Last two lines of the log that refer to build steps:
[199/244] Building CXX object src/plugins/score-plugin-avnd/CMakeFiles/score_plugin_avnd.dir/cmake_pch.hxx.gch
[200/244] Building CXX object src/lib/CMakeFiles/score_lib_base.dir/Unity/unity_0_cxx.cxx.o
The build was run with 3 threads so I'm not 100% confident which of the above items is the main culprit for running out of memory. I'll try to do a single-threaded build soon to see if that narrows it down.
Here is an error message that gets printed after miscellaneous compiler warnings:
FAILED: src/lib/CMakeFiles/score_lib_base.dir/Unity/unity_0_cxx.cxx.o