mirror of
https://github.com/digital-asset/daml.git
synced 2024-11-05 03:56:26 +03:00
increase bazel memory to 3Gb (#17572)
* increase bazel memory to 3Gb * fix
This commit is contained in:
parent
4c1631e89c
commit
052da741ea
4
.bazelrc
4
.bazelrc
@ -26,12 +26,12 @@ test:oracle --repo_env DAML_ORACLE_TESTING=true --test_env ORACLE_USERNAME --tes
|
||||
# This will become the default in a future Bazel release.
|
||||
build --experimental_strict_action_env
|
||||
|
||||
# Drop the heap size of Bazel to 2 GB and force TLS 1.2.
|
||||
# Drop the heap size of Bazel to 3 GB and force TLS 1.2.
|
||||
# With TLS 1.3, we run into the following error on Darwin.
|
||||
# > No subject alternative DNS name matching github-releases.githubusercontent.com found.
|
||||
# It looks like this is a result of SNI being broken on TLS 1.3 which results
|
||||
# in us getting a certificate for githubassets.com instead.
|
||||
startup --host_jvm_args=-Xms2g --host_jvm_args=-Xmx2g --host_jvm_args=-Djdk.tls.client.protocols=TLSv1.2
|
||||
startup --host_jvm_args=-Xms3g --host_jvm_args=-Xmx3g --host_jvm_args=-Djdk.tls.client.protocols=TLSv1.2
|
||||
|
||||
# Limit the number of parallel actions spawned by Bazel to the number of
|
||||
# physical CPUs. (Assuming a CPU with hyperthreading enabled)
|
||||
|
@ -26,12 +26,12 @@ test:oracle --repo_env DAML_ORACLE_TESTING=true --test_env ORACLE_USERNAME --tes
|
||||
# This will become the default in a future Bazel release.
|
||||
build --experimental_strict_action_env
|
||||
|
||||
# Drop the heap size of Bazel to 2 GB and force TLS 1.2.
|
||||
# Drop the heap size of Bazel to 3 GB and force TLS 1.2.
|
||||
# With TLS 1.3, we run into the following error on Darwin.
|
||||
# > No subject alternative DNS name matching github-releases.githubusercontent.com found.
|
||||
# It looks like this is a result of SNI being broken on TLS 1.3 which results
|
||||
# in us getting a certificate for githubassets.com instead.
|
||||
startup --host_jvm_args=-Xms2g --host_jvm_args=-Xmx2g --host_jvm_args=-Djdk.tls.client.protocols=TLSv1.2
|
||||
startup --host_jvm_args=-Xms3g --host_jvm_args=-Xmx3g --host_jvm_args=-Djdk.tls.client.protocols=TLSv1.2
|
||||
|
||||
# Limit the number of parallel actions spawned by Bazel to the number of
|
||||
# physical CPUs. (Assuming a CPU with hyperthreading enabled)
|
||||
|
Loading…
Reference in New Issue
Block a user