Adjust gc settings for ptb [stage]

This commit is contained in:
crschnick
2025-06-11 06:50:52 +00:00
parent 82ab000476
commit 6cd64fa046
2 changed files with 7 additions and 4 deletions
+6 -3
View File
@@ -168,14 +168,17 @@ project.ext {
// GC config
jvmRunArgs += [
'-Xlog:gc',
'-XX:+UseG1GC',
'-Xms300m',
'-Xmx4G',
'-XX:GCTimeRatio=9',
'-XX:+UseStringDeduplication',
// This is very important for older Windows systems
// The default of 2m makes GC pauses 100x times longer for some reason
'-XX:G1HeapRegionSize=4m'
'-XX:+PrintGCDetails',
// These are very important for some (mostly slower) systems
// The default makes GC pauses 100x times longer for some reason
'-XX:G1HeapRegionSize=1m',
'-XX:MaxGCPauseMillis=2000'
];
// Fix platform theme detection on macOS
+1 -1
View File
@@ -1 +1 @@
16.7-1
16.7-2