Skip to content

Instantly share code, notes, and snippets.

@lazuee
Created July 19, 2024 06:58
Show Gist options
  • Save lazuee/4b16a1c1168866349895dd3e05f158f3 to your computer and use it in GitHub Desktop.
Save lazuee/4b16a1c1168866349895dd3e05f158f3 to your computer and use it in GitHub Desktop.
IntelliJ IDEA - Custom VMOptions
# custom IntelliJ IDEA VM options (expand/override 'bin\idea64.exe.vmoptions')
-Dawt.java2d.opengl=true
-Dawt.lock.fair=true
-Dawt.useSystemAAFontSettings=lcd
-Dfile.encoding=UTF-8
-Dhidpi=true
-Dide.ui.scale=1.0
-Djava.net.preferIPv4Stack=true
-Djbr.catch.SIGABRT=true
-Djdk.attach.allowAttachSelf=true
-Djdk.http.auth.tunneling.disabledSchemes=""
-Djdk.module.illegalAccess.silent=true
-Djsse.enablesSNIExtension=false
-Dkotlinx.coroutines.debug=off
-Dsun.awt.keepWorkingSetOnMinimize=true
-Dsun.io.useCanonCaches=false
-Dsun.java2d.metal=true
-Dsun.java2d.uiScale.enabled=false
-Dsun.tools.attach.tmp.only=true
-XX:+AlwaysPreTouch
-XX:+CMSClassUnloadingEnabled
-XX:+CMSParallelRemarkEnabled
-XX:+CMSPermGenSweepingEnabled
-XX:+CMSScavengeBeforeRemark
-XX:+HeapDumpOnOutOfMemoryError
-XX:+HeapDumpOnOutOfMemoryError
-XX:+HeapDumpOnOutOfMemoryError
-XX:+IgnoreUnrecognizedVMOptions
-XX:+TieredCompilation
-XX:+UseCMSCompactAtFullCollection
-XX:+UseCMSInitiatingOccupancyOnly
-XX:+UseCodeCacheFlushing
-XX:+UseConcMarkSweepGC
-XX:+UseG1GC
-XX:+UseStringDeduplication
-XX:-OmitStackTraceInFastThrow
-XX:-TraceClassUnloading
-XX:AutoBoxCacheMax=20000
-XX:CICompilerCount=2
-XX:CMSFullGCsBeforeCompaction=0
-XX:CMSInitiatingOccupancyFraction=65
-XX:CompileCommand=exclude,com/intellij/openapi/vfs/impl/FilePartNodeRoot,trieDescend
-XX:ConcGCThreads=4
-XX:MaxMetaspaceSize=512m
-XX:MaxNewSize=1g
-XX:MaxTenuringThreshold=1
-XX:MetaspaceSize=512m
-XX:NewRatio=1
-XX:NewSize=512m
-XX:ParallelGCThreads=4
-XX:ReservedCodeCacheSize=512m
-XX:SoftRefLRUPolicyMSPerMB=50
-XX:SurvivorRatio=8
-Xms128m
-Xmx1512m
-ea
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment