mirror of https://github.com/apache/druid.git
Pass jvm option to write heap dump on out of memory (#15053)
This commit is contained in:
parent
9a4433bbad
commit
ebb9724c26
|
@ -21,7 +21,7 @@ DRUID_SERVICE=historical
|
|||
DRUID_LOG_PATH=/shared/logs/historical.log
|
||||
|
||||
# JAVA OPTS
|
||||
SERVICE_DRUID_JAVA_OPTS=-server -Xmx512m -Xms512m -XX:+UseG1GC -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5007
|
||||
SERVICE_DRUID_JAVA_OPTS=-server -Xmx512m -Xms512m -XX:+UseG1GC -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/shared/logs -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5007
|
||||
|
||||
# Druid configs
|
||||
druid_host=druid-historical
|
||||
|
|
Loading…
Reference in New Issue