Browse Source

内存改成256M

master
nili 10 months ago
parent
commit
ca5e3e47ad
  1. 2
      run

2
run

@ -17,4 +17,4 @@ rm -rf jar
mkdir jar
cp $targetdir/$jar jar/
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
java -server -Xmx256m -Xms256m -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

Loading…
Cancel
Save