CTest: compressing huge test output
3.13.4 ctest bad_alloc in cmCTestRunTest::CompressOutput()
Hello,
we are running HUGE tests...
I have debugged the function cmCTestRunTest::CompressOutput().
In the function here: https://gitlab.kitware.com/cmake/cmake/blob/v3.13.4/Source/CTest/cmCTestRunTest.cxx On line 83, the bad_alloc is thrown.
this->ProcessOutput.size() returns 9GB... of sensible text. This is not a bug, but more like a request.
Is it possible to reuse that memory and not allocate new one? Because only solution I can think of now is either suppress process output or edit the code myself and run own, non bundled binary.
Edited by Brad King