Add jvm flags to prevent fake OOM (#204)

This commit is contained in:
KirillPamPam
2023-04-18 20:08:35 +04:00
committed by GitHub
parent bdff5b8ae9
commit 39b110c3c0

View File

@@ -181,7 +181,7 @@ jib {
}
}
container {
jvmFlags = ['-XX:+UseG1GC', '-XX:+ExitOnOutOfMemoryError', '-Xms1024M']
jvmFlags = ['-XX:+UseG1GC', '-XX:+ExitOnOutOfMemoryError', '-Xms1024M', '-XX:+UnlockDiagnosticVMOptions', '-XX:GCLockerRetryAllocationCount=10']
mainClass = 'io.emeraldpay.dshackle.StarterKt'
args = []
ports = ['2448', '2449', '8545']