Skip to content

Commit

Permalink
update java opts
Browse files Browse the repository at this point in the history
  • Loading branch information
colmsnowplow committed Jul 25, 2023
1 parent 929fcd7 commit 9126845
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion templates/user-data.sh.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ sudo docker run \
--env AZURE_TENANT_ID=${tenant_id} \
--env AZURE_CLIENT_ID=${client_id} \
--env AZURE_CLIENT_SECRET=${client_secret} \
--env 'JAVA_OPTS=-Dconfig.override_with_env_vars=true ${java_opts}' \
--env JDK_JAVA_OPTIONS='${java_opts}' \
--env "CONFIG_FORCE_telemetry_instanceId=$(get_instance_id)" \
snowplow/rdb-loader-snowflake:${version} \
--config ${config_b64} \
Expand Down
2 changes: 1 addition & 1 deletion variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ variable "tags" {

variable "java_opts" {
description = "Custom JAVA Options"
default = "-Dorg.slf4j.simpleLogger.defaultLogLevel=info -XX:MinRAMPercentage=50 -XX:MaxRAMPercentage=75"
default = "-XX:InitialRAMPercentage=75 -XX:MaxRAMPercentage=75"
type = string
}

Expand Down

0 comments on commit 9126845

Please sign in to comment.