Skip to content

Commit

Permalink
Mitigate risks of SoftReference cache OOM (deephaven#5520)
Browse files Browse the repository at this point in the history
  • Loading branch information
devinrsmith authored May 23, 2024
1 parent 29a58ac commit 4cde8bb
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,9 @@ def JAVA_OPTS = parseJvmArgumentsFromProperty("deephaven.javaOpts", parseJvmArgu
'-XX:+UseG1GC',
'-XX:MaxGCPauseMillis=100',
'-XX:+UseStringDeduplication',
// TODO(deephaven-core#5519): Remove SoftReference cache OOM mitigation
// Requires -XX:+UnlockDiagnosticVMOptions which is already included in def compilerArgs earlier
'-XX:GCLockerRetryAllocationCount=128',
]))

// Utility to add jvm args to all executions, whether intellij or from a application script or gradle javaexec
Expand Down

0 comments on commit 4cde8bb

Please sign in to comment.