优化jvm参数

This commit is contained in:
rememberber
2024-09-20 17:48:57 +08:00
parent 244305a7be
commit 9cce5762a6
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -3,4 +3,4 @@
-XX:+ZGenerational
-XX:-ZUncommit
-Xms128m
-Xmx1024m
-Xmx512m
+1 -1
View File
@@ -331,7 +331,7 @@
<mainClass>com.luoboduner.moo.tool.App</mainClass>
<generateInstaller>true</generateInstaller>
<!-- 这行不能被格式化为多行,否则会出错-->
<vmArgs>--add-exports jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED --add-exports jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED --add-exports jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED --add-exports jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED --add-exports jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED</vmArgs>
<vmArgs>-Dswing.aatext=true -XX:+UseZGC -XX:+ZGenerational -XX:-ZUncommit -Xms128m -Xmx512m --add-exports jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED --add-exports jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED --add-exports jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED --add-exports jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED --add-exports jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED</vmArgs>
</configuration>
<executions>
<!-- <execution>-->