zgc lag from pause fix
This commit is contained in:
parent
6e02ff9c9c
commit
3dc56278c9
1 changed files with 4 additions and 0 deletions
|
|
@ -51,6 +51,10 @@ in {
|
|||
"-XX:+UseCompactObjectHeaders"
|
||||
"-XX:ZAllocationSpikeTolerance=5"
|
||||
"-XX:SoftMaxHeapSize=${toString (ram-allocation-mb - 2048)}M"
|
||||
|
||||
# High MSPT due to ZGC pauses
|
||||
"-XX:ZUncommitDelay=300"
|
||||
"-XX:ZCollectionInterval=5"
|
||||
]; in lib.concatStringsSep " " flags;
|
||||
|
||||
# extraStartPost = let gamerules = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue