-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Document the minimal resources needed to run tests for DataFusion #9398
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I think the doctests are the main culprit, see #5347 Agree on documenting this as part of contributor/developer guide 👍 |
Thank you for bringing this up @SteveLauC. I had the same experience when I first starting working on DataFusion. You can work around memory limitations by running The precise memory requirements to run |
Thanks for showing me this! This indeed makes the memory usage controllable:) |
Glad that worked for you! I opened #9402 to document this in the contributors guide. There does not seem to be a way to configure Cargo to default to |
I had my computer upgraded to 64GB of ram - the workaround mentioned above I used as well but the time to run the tests was using that was horrendous. Using linux under WSL2 in windows here. |
Uh oh!
There was an error while loading. Please reload this page.
Is your feature request related to a problem or challenge?
As a contributor, I would like to test more locally to reduce CI errors, I tried running
cargo test
at the project root, and then all my RAM was eaten by tests, and the kernel got killed, forcing me to restart my PC.I have 32 GB of memory, looks like I need at least 64 GB or 128 GB :D
Describe the solution you'd like
Document the spec (minimal one) needed for running tests of DataFusion in the contributors' guide.
And, we should document which tests are resource-heavy so that contributors can ignore them locally.
Describe alternatives you've considered
No
Additional context
No response
The text was updated successfully, but these errors were encountered: