Skip to content

Commit a8a3c5d

Browse files
devinjdangeloalamb
andauthored
Doc: Workaround for Running cargo test locally without signficant memory (#9402)
* document cargo test workaround * Update docs/source/contributor-guide/index.md --------- Co-authored-by: Andrew Lamb <[email protected]>
1 parent e1ed13d commit a8a3c5d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/source/contributor-guide/index.md

+2
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,8 @@ DataFusion is written in Rust and it uses a standard rust toolkit:
157157
- `cargo test` to test
158158
- etc.
159159

160+
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).
161+
160162
Testing setup:
161163

162164
- `rustup update stable` DataFusion uses the latest stable release of rust

0 commit comments

Comments
 (0)