Skip to content

Commit fcac3d6

Browse files
authored
bump localnet memory (#1888)
Signed-off-by: Itai Segall <itai.segall@digitalasset.com>
1 parent ea7c673 commit fcac3d6

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

cluster/compose/localnet/resource-constraints.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,10 @@ services:
77
postgres:
88
mem_limit: 2g
99
canton:
10-
mem_limit: 7g
10+
# We upload all DARs from the validator at once, which pulls up memory usage.
11+
# Until we either do that sequentially in localNet, or we get unvetting and stop
12+
# uploading all versions, we need to allocate more memory than otherwise needed.
13+
mem_limit: 10g
1114
environment:
1215
_JAVA_OPTIONS: "-XX:-UseCompressedOops -Xms512m -Xmx4096m"
1316
splice:

0 commit comments

Comments
 (0)