Consider setting the following environment variables:
RUST_MIN_STACK: minimum thread stack size (in bytes); we suggest RUST_MIN_STACK=8388608 (8MiB)
TMPDIR: where to store temporary files (potentially very large ones)
RUST_LOG: configuration for env_logger (https://docs.rs/env_logger/)
You can compress results using process substitution, as in ">(zstd > foo.zstd)"