JVM http://www.Oracle.com/technetwork/Java/javase/tech/vmoptions-jsp-140102.html#G1Options 查看JVM默认参数:java -XX:+UnlockDiagnosticVMOptions -XX:+PrintFlagsFinal -version 查看当前运行项目的参数:jinfo <pid> JAVA_OPTS="-Xms1024M -Xmx2048M" -Xms也可用-XX:InitialHeapSize=xxx -Xmx也可用-XX:MaxHeapSize=xxx posted on 2017-05-18 10:58 西风古道 阅读( ...) 评论( ...) 编辑 收藏 转载于:https://www.cnblogs.com/g120992880/p/6872258.html