Skip to content

Commit 82c3c88

Browse files
Bump max heap size for local canton runs (#1075)
Fixes DACH-NY/cn-test-failures#3885 (Integration test participant `OutOfMemory encountered: Java heap space`) I didn't touch the initial heap size for now; we only reach it rarely so seems to be more economical this way. Signed-off-by: Martin Florian <martin.florian@digitalasset.com>
1 parent 991c59f commit 82c3c88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

start-canton.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ tmux new-session -d -s "${tmux_session}"
188188
189189
# Numbers chosen such that we don't run out of memory and CI runs are not measurably slower.
190190
# Feel free to bump if you encounter issues but make sure the nodes don't run out of memory.
191-
JAVA_TOOL_OPTIONS="-Xms6g -Xmx6g -Dlogback.configurationFile=./scripts/canton-logback.xml"
191+
JAVA_TOOL_OPTIONS="-Xms6g -Xmx8g -Dlogback.configurationFile=./scripts/canton-logback.xml"
192192
193193
config_overrides=""
194194
config_overrides_simtime=""

0 commit comments

Comments
 (0)