本文共 449 字,大约阅读时间需要 1 分钟。
# custom IntelliJ IDEA VM options# 禁止字节码验证-Xverify:none# 堆初始大小-Xms1024m# 堆最大大小-Xmx1024m# 堆中新生代大小-Xmn512M-XX:ReservedCodeCacheSize=240m-XX:+UseConcMarkSweepGC-XX:SoftRefLRUPolicyMSPerMB=50-ea-Dsun.io.useCanonCaches=false-Djava.net.preferIPv4Stack=true-Djdk.http.auth.tunneling.disabledSchemes=""-XX:+HeapDumpOnOutOfMemoryError-XX:-OmitStackTraceInFastThrow# 输出GC日志# -verbose:gcc# -XX:+PrintGCDetails# -XX:+PrintGCDateStamps# GC日志的文件名# -Xloggc:gcc.log
转载地址:http://gkgxi.baihongyu.com/