Java命令参数随记

来自三线的随记

通过环境变量注入参数: Java动态参数随记

容器环境的JVM内存设置最佳实践: https://www.cnblogs.com/xiaoqi/p/container-jvm.html

https://www.cnblogs.com/caoweixiong/p/12427202.html

jvm内存调测

java -XX:+PrintFlagsFinal -version | grep -Ei "maxheapsize|maxram"