Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reduce object-bits for test to avoid OOM (#3511)
Kani often runs out of memory on `tests/expected/function-contract/history/stub.rs` when running the regressions. In particular, `quadruple_harness` consumes over 9 GB of memory. This PR reduces the object bits for this test to 8 to avoid OOM issues. This brings down memory usage to ~125 MB. Before: ```bash $ /usr/bin/time -v kani -Zfunction-contracts stub.rs --harness quadruple_harness Maximum resident set size (kbytes): 9136036 ``` After: ```bash $ /usr/bin/time -v kani -Zfunction-contracts stub.rs --harness quadruple_harness --enable-unstable --cbmc-args --object-bits 8 ... Maximum resident set size (kbytes): 125172 ``` By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 and MIT licenses.
- Loading branch information