From 3730cf7d34174b9c1193e0223c635ae4cd1ffc7a Mon Sep 17 00:00:00 2001 From: nili Date: Tue, 22 Aug 2023 23:58:39 +0800 Subject: [PATCH] =?UTF-8?q?jvm=E5=86=85=E5=AD=98=E6=94=B9=E5=B0=8F?= =?UTF-8?q?=E7=82=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- run | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run b/run index 44a7de8..883d1c2 100755 --- a/run +++ b/run @@ -17,4 +17,4 @@ rm -rf jar mkdir jar cp $targetdir/$jar jar/ -java -server -Xmx1G -Xms1G -XX:+UseG1GC -XX:MaxGCPauseMillis=100 -XX:+UseCompressedOops -XX:+UseCompressedClassPointers -verbose:gc -Xlog:gc*:logs/gc.log:time,l,tg:filecount=7,filesize=16M -jar jar/$jar --spring.profiles.active=$profile > run.log 2>&1 & echo $! > pid +java -server -Xmx512m -Xms512m -XX:+UseG1GC -XX:MaxGCPauseMillis=100 -XX:+UseCompressedOops -XX:+UseCompressedClassPointers -verbose:gc -Xlog:gc*:logs/gc.log:time,l,tg:filecount=7,filesize=16M -jar jar/$jar --spring.profiles.active=$profile > run.log 2>&1 & echo $! > pid