IDEA配置idea64.exe.vmoptions优化使用体验
作者:互联网
使用如下配置,体验更流畅的idea
ps:本机硬件配置[i5处理器+8G运存]
配置内容
-Xms2048m
-Xmx4096m
-XX:MaxMetaspaceSize=512m
-XX:MetaspaceSize=512m
-XX:InitialBootClassLoaderMetaspaceSize=64M
-XX:NewRatio=2
-XX:SurvivorRatio=8
-XX:MaxTenuringThreshold=6
-XX:+UseConcMarkSweepGC
-XX:CMSFullGCsBeforeCompaction=5
-XX:+CMSParallelRemarkEnabled
-XX:+CMSClassUnloadingEnabled
-Xss1024k
-XX:+DisableExplicitGC
-XX:+ExplicitGCInvokesConcurrentAndUnloadsClasses
-XX:ReservedCodeCacheSize=240m
-XX:SoftRefLRUPolicyMSPerMB=50
-ea
-Dsun.io.useCanonCaches=false
-Djava.net.preferIPv4Stack=true
-XX:+HeapDumpOnOutOfMemoryError
-XX:-OmitStackTraceInFastThrow
-XX:+PrintGCDetails
-XX:+PrintGCTimeStamps
-Xloggc:D:/IDEA/gclog/idea_gc.log
-XX:+PrintHeapAtGC
END
标签:512m,exe,配置,idea,IDEA,XX,idea64,体验 来源: https://www.cnblogs.com/jiujianxian/p/13138625.html