IntelliJ IDEA VM options配置
程序员文章站
2024-03-05 12:42:12
...
-Xms512m
-Xmn512m
-Xmx1g
-XX:ReservedCodeCacheSize=240m
-XX:MaxMetaspaceSize=512m
-XX:+UseG1GC
-XX:SoftRefLRUPolicyMSPerMB=50
-ea
-Dsun.io.useCanonCaches=false
-Djava.net.preferIPv4Stack=true
-Djdk.http.auth.tunneling.disabledSchemes=""
-XX:+HeapDumpOnOutOfMemoryError
-XX:-OmitStackTraceInFastThrow
推荐阅读