JVM(2)——Linux Jar启动内存分类及GC日志打印
rm -rf ipb.log
nohup java -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/home/ruijie/diagon/logs/analysis-model-ipb -Xloggc:/home/ruijie/diagon/logs/analysis-model-ipb/ipb_gc.log -XX:+PrintGCDetails -XX:+PrintGCDateStamps -XX:+PreserveFramePointer -Xmx5120m -Xms1024m -jar ../src/diagon/analysis-model-ipb/target/analysis-model-ipb-1.1.0-SNAPSHOT-exec.jar --spring.profiles.active=test > ipb.log &