Add jvm flags to prevent fake OOM (#204)
This commit is contained in:
@@ -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']
|
||||
|
||||
Reference in New Issue
Block a user