Why is IntelliJ 13 IDEA so slow after upgrading from version 12?

后端 未结 20 1614
礼貌的吻别
礼貌的吻别 2020-12-04 04:58

While using IntelliJ 13 ultimate edition for a week, it just seems really slow.

First of all, the whole IDE stops for a second or so every once in a while. The Java

20条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-04 05:35

    Best experience with following options (idea64.exe.vmoptions):

        -server
        -Xms1g
        -Xmx3g
        -Xss16m
        -XX:NewRatio=3
    
        -XX:ReservedCodeCacheSize=240m
        -XX:+UseCompressedOops
        -XX:SoftRefLRUPolicyMSPerMB=50
    
        -XX:ParallelGCThreads=4
        -XX:+UseConcMarkSweepGC
        -XX:ConcGCThreads=4
    
        -XX:+CMSClassUnloadingEnabled
        -XX:+CMSParallelRemarkEnabled
        -XX:CMSInitiatingOccupancyFraction=65
        -XX:+CMSScavengeBeforeRemark
        -XX:+UseCMSInitiatingOccupancyOnly
    
        -XX:MaxTenuringThreshold=1
        -XX:SurvivorRatio=8
        -XX:+UseCodeCacheFlushing
        -XX:+AggressiveOpts
        -XX:-TraceClassUnloading
        -XX:+AlwaysPreTouch
        -XX:+TieredCompilation
    
        -Djava.net.preferIPv4Stack=true
        -Dsun.io.useCanonCaches=false
        -Djsse.enableSNIExtension=true
        -ea
    

提交回复
热议问题