Add jvm flags to prevent fake OOM (#204)
This commit is contained in:
@@ -181,7 +181,7 @@ jib {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
container {
|
container {
|
||||||
jvmFlags = ['-XX:+UseG1GC', '-XX:+ExitOnOutOfMemoryError', '-Xms1024M']
|
jvmFlags = ['-XX:+UseG1GC', '-XX:+ExitOnOutOfMemoryError', '-Xms1024M', '-XX:+UnlockDiagnosticVMOptions', '-XX:GCLockerRetryAllocationCount=10']
|
||||||
mainClass = 'io.emeraldpay.dshackle.StarterKt'
|
mainClass = 'io.emeraldpay.dshackle.StarterKt'
|
||||||
args = []
|
args = []
|
||||||
ports = ['2448', '2449', '8545']
|
ports = ['2448', '2449', '8545']
|
||||||
|
|||||||
Reference in New Issue
Block a user