tofu
tofu copied to clipboard
MemoryError due to large matrices allocation in test suite on Windows conda-forge CI
During the latest conda-forge release (1.5.1) some tests failed randomly but only under Windows. The "random part" seems to be due to memory errors. The relevant PR is here: https://github.com/conda-forge/tofu-feedstock/pull/22.
These errors all seem to be in tofu\tests\tests06_mesh\test_01_checks.py (see log).
A sample error is:
numpy.core._exceptions._ArrayMemoryError: Unable to allocate 199. MiB for an array with shape (26118378,) and data type float64
A possible solution would be to scale down the size of the problem that gets tested.
The full log is attached. log_pr_tofu_azure_build.txt
Thanks @flothesof for reporting this issue ! :-)