Skip to content

Commit

Permalink
perf($JVM): increase JVM heap memory; dump heap on OOM error
Browse files Browse the repository at this point in the history
  • Loading branch information
johnnymillergh committed Mar 1, 2021
1 parent ebebd3e commit 45c528b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/.env
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ MUSCLE_MIS_CONTAINER_NAME="maf.muscle-mis.${SPRING_ENVIRONMENT}"
##################################################
# JIB contain's Java tool options #
##################################################
JAVA_TOOL_OPTIONS="-Xms128m -Xmx128m -Dspring.profiles.active=${SPRING_ENVIRONMENT} -Dspring.cloud.consul.host=${CONSUL_SERVICE_REGISTRY_CONTAINER_NAME}"
JAVA_TOOL_OPTIONS="-Xms256m -Xmx256m -XX+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/logs -Dspring.profiles.active=${SPRING_ENVIRONMENT} -Dspring.cloud.consul.host=${CONSUL_SERVICE_REGISTRY_CONTAINER_NAME}"

##################################################
# Accounts, Passwords & Common Constants #
Expand Down

0 comments on commit 45c528b

Please sign in to comment.