2021-08-24

Set startup parameters outside the springboot jar package

1: Create a .conf file with the same jar name under the .jar file at the same level, such as app.jar and app.config

2: Additional contents JAVA_OPTS="-server -Xms512M -Xmx512M -XX:MaxGCPauseMillis=500 -XX:+AggressiveOpts -XX:+UseParallelGC"

 

Guess you like

Origin blog.csdn.net/qq_38158357/article/details/119892547