jonkeane commented on a change in pull request #11205:
URL: https://github.com/apache/arrow/pull/11205#discussion_r741417283
##########
File path: docs/source/developers/cpp/building.rst
##########
@@ -41,6 +41,9 @@ Building requires:
sufficient. For Windows, at least Visual Studio 2017 is required.
* CMake 3.5 or higher
* On Linux and macOS, either ``make`` or ``ninja`` build utilities
+* At least 1GB of RAM for a minimal build, 4GB for a minimal
+ debug build with tests and 8GB for a full build using
+ :ref:`docker <docker>`.
Review comment:
One thing that we've run into is that enabling the Unity build will
frequently cause more memory to be required.
https://issues.apache.org/jira/browse/ARROW-14555 is an example of that (it
appears the VM had/was using 4GB when it was OOMkilled building unity). Maybe
we should mention here that in ram-constrained environments that's one flag to
turn off (ie. `CMAKE_UNITY_BUILD=OFF`)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]