Skip to content

Commit

Permalink
test: reduce test size to fit incremental GC (#531)
Browse files Browse the repository at this point in the history
Currently, the CI builds for the incremental GC
(dfinity/motoko#3756) fail because they run out
of memory for this test case (where memory is not collected). The
incremental GC has a somewhat higher memory footprint as it uses larger
object headers, with an additional forwarding pointer.

Therefore, reducing the test size a little bit to also fit for the
future incremental GC.
  • Loading branch information
luc-blaeser authored Feb 23, 2023
1 parent 12bda5c commit 049e04a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/RBTreeTestMore.mo
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ func shuffle(array : [Nat]) : [Nat] {
)
};

let testSize = 6000;
let testSize = 5000;

let testKeys = shuffle(Array.tabulate<Nat>(testSize, func(index) { index }));

Expand Down

0 comments on commit 049e04a

Please sign in to comment.