Skip to content

Instantly share code, notes, and snippets.

@ScriptedAlchemy
Created November 26, 2019 22:23
Show Gist options
  • Save ScriptedAlchemy/1ffbaac554f738094c9ad83640459b93 to your computer and use it in GitHub Desktop.
Save ScriptedAlchemy/1ffbaac554f738094c9ad83640459b93 to your computer and use it in GitHub Desktop.

Revisions

  1. ScriptedAlchemy created this gist Nov 26, 2019.
    55 changes: 55 additions & 0 deletions idea.vmoptions
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,55 @@
    -Xms1024m
    -Xmx3072m
    -Xss64m
    -XX:ReservedCodeCacheSize=512m
    -XX:+UseCompressedOops
    -XX:NewRatio=2
    -Dfile.encoding=UTF-8
    -XX:+UseConcMarkSweepGC
    -XX:SoftRefLRUPolicyMSPerMB=250
    -XX:NewSize=512m
    -XX:MaxNewSize=512m
    -XX:PermSize=512m
    -XX:MaxPermSize=1024m
    -XX:+UseParNewGC
    -XX:ParallelGCThreads=4
    -XX:MaxTenuringThreshold=1
    -XX:SurvivorRatio=8
    -XX:+UseCodeCacheFlushing
    -XX:+AggressiveOpts
    -XX:+CMSClassUnloadingEnabled
    -XX:+CMSIncrementalMode
    -XX:+CMSIncrementalPacing
    -XX:+CMSParallelRemarkEnabled
    -XX:CMSInitiatingOccupancyFraction=65
    -XX:+CMSScavengeBeforeRemark
    -XX:+UseCMSInitiatingOccupancyOnly
    -XX:-TraceClassUnloading
    -XX:+AlwaysPreTouch
    -XX:+TieredCompilation
    -XX:+DoEscapeAnalysis
    -XX:+UnlockExperimentalVMOptions
    -XX:LargePageSizeInBytes=256m
    -XX:+DisableExplicitGC
    -XX:+ExplicitGCInvokesConcurrent
    -XX:+PrintGCDetails
    -XX:+PrintFlagsFinal
    -XX:+HeapDumpOnOutOfMemoryError
    -XX:+CMSPermGenSweepingEnabled
    -XX:+UseAdaptiveGCBoundary
    -XX:+UseSplitVerifier
    -XX:CompileThreshold=10000
    -XX:+UseCompressedStrings
    -XX:+OptimizeStringConcat
    -XX:+UseStringCache
    -XX:+UseFastAccessorMethods
    -XX:+UnlockDiagnosticVMOptions
    -ea
    -Dsun.io.useCanonCaches=false
    -Djava.net.preferIPv4Stack=true
    -XX:-OmitStackTraceInFastThrow
    -Xverify:none

    -XX:ErrorFile=$USER_HOME/java_error_in_idea_%p.log
    -XX:HeapDumpPath=$USER_HOME/java_error_in_idea.hprof
    -Dide.no.platform.update=true