Skip to content

Instantly share code, notes, and snippets.

@bijayrungta
Created May 1, 2018 06:15
Show Gist options
  • Save bijayrungta/a587d31e21dac5ef8d1b11ca822357ee to your computer and use it in GitHub Desktop.
Save bijayrungta/a587d31e21dac5ef8d1b11ca822357ee to your computer and use it in GitHub Desktop.
idea.vmoptions Custom VM options optimized for Development with IntelliJ IDEA IDE.
# http://www.dggodfrey.com/blog/2014/11/06/fix-slow-intellij-idea/
# https://github.com/adben/config/blob/master/idea.vmoptions
# http://hamletdarcy.blogspot.in/2008/02/10-tips-to-increase-intellij-idea.html
# https://zeroturnaround.com/free/optimizer-for-intellij-idea/
-ea
-server
-Xms1G
-Xmx2048m
-Xss2m
-XX:NewSize=512M
-XX:MaxNewSize=256M
-XX:PermSize=256M
-XX:MaxPermSize=1G
-XX:ReservedCodeCacheSize=512m
-XX:MaxMetaspaceSize=512m
-XX:MetaspaceSize=512m
-XX:LargePageSizeInBytes=256m
-XX:+UseCodeCacheFlushing
-XX:ParallelGCThreads=4
-XX:+DoEscapeAnalysis
-XX:+UnlockExperimentalVMOptions
-XX:+UseConcMarkSweepGC
-XX:+DisableExplicitGC
-XX:+ExplicitGCInvokesConcurrent
-XX:+PrintGCDetails
-XX:+PrintFlagsFinal
-XX:+AggressiveOpts
-XX:+HeapDumpOnOutOfMemoryError
-XX:+CMSClassUnloadingEnabled
-XX:CMSInitiatingOccupancyFraction=60
-XX:+CMSClassUnloadingEnabled
-XX:+CMSParallelRemarkEnabled
-XX:+UseAdaptiveGCBoundary
-XX:+UseSplitVerifier
-XX:CompileThreshold=10000
-XX:+OptimizeStringConcat
-XX:+UseStringCache
-XX:+UseFastAccessorMethods
-XX:+UnlockDiagnosticVMOptions
-XX:+HeapDumpOnOutOfMemoryError
-XX:+UseCompressedOops -agentlib:yjpagent=probe_disable=*,disablealloc,disabletracing,onlylocal,disableexceptiontelemetry,delay=10000,sessionname=IntelliJIdea2016.2
-Dide.no.platform.update=true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment