Skip to content

Apache DataFusion SQL Query Engine

Doc: Workaround for Running cargo test locally without signficant memory (#9402)

Devin D'Angeloa8a3c5d17ae4
diff --git a/docs/source/contributor-guide/index.md b/docs/source/contributor-guide/index.md
index 839055f6ed..58291e5b78 100644
--- a/docs/source/contributor-guide/index.md
+++ b/docs/source/contributor-guide/index.md
@@ -157,6 +157,8 @@ DataFusion is written in Rust and it uses a standard rust toolkit:
- `cargo test` to test
- etc.
+Note that running `cargo test` requires significant memory resources, due to cargo running many tests in parallel by default. If you run into issues with slow tests or system lock ups, you can significantly reduce the memory required by instead running `cargo test -- --test-threads=1`. For more information see [this issue](https://github.com/apache/arrow-datafusion/issues/5347).
+
Testing setup:
- `rustup update stable` DataFusion uses the latest stable release of rust