INFRA-3492 | Harinder | Adding environment variable to enable automatic heap dump (#1027)

https://go-navi.slack.com/archives/C06J3R5P3TQ/p1719393821092899
This commit is contained in:
Harinder Singh
2024-06-26 11:05:33 +00:00
committed by GitHub
parent e99d23919f
commit 388dc81008

View File

@@ -137,7 +137,11 @@
{
"name": "GOCD_PIPELINES_CONFIG",
"value": "$GOCD_PIPELINES_CONFIG"
}
},
{
"name": "JVM_OPTS",
"value": "-XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/dumps -XX:+UseContainerSupport -XX:MaxRAMPercentage=50.0"
},
],
"deployment": {
"serviceAccount": true,