Skip to content

Commit

Permalink
fix config file
Browse files Browse the repository at this point in the history
  • Loading branch information
dev7879888190@163.com committed Mar 2, 2020
1 parent cb23e42 commit 6df3b0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ while true; do
fi
done
total=`cat /proc/meminfo |grep MemTotal |awk -F ' ' '{print $2}'`
xmx=`echo "$total/1024/1024*0.5" | bc |awk -F. '{print $1"g"}'`
xmx=`echo "$total/1024/1024*0.6" | bc |awk -F. '{print $1"g"}'`
logtime=`date +%Y-%m-%d_%H-%M-%S`
nohup java -Xmx$xmx -XX:+UseConcMarkSweepGC -XX:+PrintGCDetails -Xloggc:./gc.log\
-XX:+PrintGCDateStamps -XX:+CMSParallelRemarkEnabled -XX:ReservedCodeCacheSize=256m\
Expand Down

0 comments on commit 6df3b0a

Please sign in to comment.