Tweak some gc settings [stage]

This commit is contained in:
crschnick
2025-03-17 06:45:17 +00:00
parent 795a3dde7c
commit d93eacdb9b
3 changed files with 4 additions and 2 deletions
@@ -180,6 +180,8 @@ public abstract class OperationMode {
var startupMode = getStartupMode();
switchToSyncOrThrow(map(startupMode));
// If it doesn't find time, the JVM will not gc the startup workload
System.gc();
inStartup = false;
AppOpenArguments.init();
}
+1 -1
View File
@@ -145,7 +145,7 @@ project.ext {
]
// GC config
jvmRunArgs += ['-Xms200m', '-Xmx4G', '-XX:MinHeapFreeRatio=20', '-XX:MaxHeapFreeRatio=30', '-XX:GCTimeRatio=39'];
jvmRunArgs += ['-Xms300m', '-Xmx4G', '-XX:MinHeapFreeRatio=15', '-XX:MaxHeapFreeRatio=25', '-XX:GCTimeRatio=19'];
if (org.gradle.internal.os.OperatingSystem.current().isMacOsX()) {
jvmRunArgs += ["-Dapple.awt.application.appearance=system"]
+1 -1
View File
@@ -1 +1 @@
15.6-5
15.6-6