From 3ef1b7a90edba18f4593d2074863efe6b566dcd3 Mon Sep 17 00:00:00 2001 From: jaysunxiao Date: Thu, 5 Aug 2021 14:09:37 +0800 Subject: [PATCH] =?UTF-8?q?perf[deploy]:=20=E6=9B=B4=E6=96=B0=E6=B3=A8?= =?UTF-8?q?=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- deploy.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/deploy.sh b/deploy.sh index c45d3478..ed116433 100644 --- a/deploy.sh +++ b/deploy.sh @@ -128,6 +128,7 @@ function start() { cd ${logPath} # -XX:+AlwaysPreTouch,并置零内存页面,可能令得启动时慢上一点,但后面访问时会更流畅,比如页面会连续分配 + # 输出到文件 >> output.log 2>&1 & nohup java -XX:+UseG1GC -XX:InitialHeapSize=4g -XX:MaxHeapSize=4g -XX:MaxMetaspaceSize=256m -XX:AutoBoxCacheMax=20000 -XX:+UseStringDeduplication -XX:+HeapDumpOnOutOfMemoryError -Djdk.attach.allowAttachSelf=true -Dspring.profiles.active=pro -Dfile.encoding=UTF-8 -jar ${jarPath} >/dev/null 2>&1 & # 如果没有info的log,则等待一秒钟