Last active
September 16, 2017 07:55
-
-
Save pftg/933a3d0c80ac7b8bab15 to your computer and use it in GitHub Desktop.
JetBrains IDE Custom VmOptions
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Configuration for Machine with 16G of RAM and Java 8 | |
# Debug options | |
#-XX:+UnlockDiagnosticVMOptions | |
#-XX:+PrintFlagsFinal | |
#-XX:+PrintGCDateStamps -verbose:gc -XX:+PrintGCDetails -Xloggc:"<path to log>" | |
#-XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=10 -XX:GCLogFileSize=100M | |
-da | |
-server | |
# Memory Usage | |
-Xms4g | |
-Xmx4g | |
-XX:MetaspaceSize=512m | |
-XX:MaxMetaspaceSize=512m | |
-XX:LargePageSizeInBytes=256m | |
-XX:ReservedCodeCacheSize=240m | |
-XX:SoftRefLRUPolicyMSPerMB=50 | |
# GC | |
-XX:+DisableExplicitGC | |
-XX:+UseConcMarkSweepGC | |
-XX:ConcGCThreads=16 | |
-XX:+ExplicitGCInvokesConcurrent | |
# GC - ConcMarkSweep Settings | |
-XX:CMSInitiatingOccupancyFraction=90 | |
-XX:+CMSParallelRemarkEnabled | |
# For current IDE we do not need to cleanup Perm, so for now ignore those settings | |
#-XX:+CMSClassUnloadingEnabled | |
#-XX:+ExplicitGCInvokesConcurrent | |
#-XX:+ExplicitGCInvokesConcurrentAndUnloadsClasses | |
-XX:+DoEscapeAnalysis | |
-XX:+UnlockExperimentalVMOptions | |
-XX:+UseCodeCacheFlushing | |
-XX:+UseCompressedOops | |
-XX:+AggressiveOpts | |
-XX:+HeapDumpOnOutOfMemoryError | |
-XX:+UseAdaptiveGCBoundary | |
-XX:CompileThreshold=10000 | |
-XX:+OptimizeStringConcat | |
-XX:+UseFastAccessorMethods | |
# App Settings | |
-Dawt.useSystemAAFontSettings=lcd | |
-Djava.net.preferIPv4Stack=true | |
-Djsse.enableSNIExtension=false | |
-Dsun.io.useCanonCaches=false | |
-Dsun.net.inetaddr.ttl=1000 | |
# For JDK < 8 | |
#-XX:PermSize=512m | |
#-XX:MaxPermSize=512m | |
#-XX:+UseSplitVerifier | |
#-XX:+UseStringCache |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ~/Library/Preferences/RubyMine2017.1/rubymine.vmoptions | |
-da | |
-server | |
-Xms4g | |
-Xss32m | |
-XX:PermSize=512m | |
-XX:MaxPermSize=512m | |
-XX:MetaspaceSize=512m | |
-XX:MaxMetaspaceSize=512m | |
-XX:+DoEscapeAnalysis | |
-XX:+UnlockExperimentalVMOptions | |
-XX:LargePageSizeInBytes=256m | |
-XX:ReservedCodeCacheSize=240m | |
-XX:+UseCodeCacheFlushing | |
-XX:+UseCompressedOops | |
-XX:+UseConcMarkSweepGC | |
-XX:ParallelGCThreads=20 | |
-XX:ConcGCThreads=5 | |
-XX:+ExplicitGCInvokesConcurrent | |
-XX:+AggressiveOpts | |
-XX:+HeapDumpOnOutOfMemoryError | |
-XX:+CMSClassUnloadingEnabled | |
-XX:+CMSPermGenSweepingEnabled | |
-XX:CMSInitiatingOccupancyFraction=90 | |
–XX:CMSIncrementalSafetyFactor=90 | |
-XX:+CMSClassUnloadingEnabled | |
-XX:+CMSParallelRemarkEnabled | |
-XX:+UseAdaptiveGCBoundary | |
-XX:+UseSplitVerifier | |
-XX:CompileThreshold=10000 | |
-XX:+UseCompressedStrings | |
-XX:+OptimizeStringConcat | |
-XX:+UseStringCache | |
-XX:+UseFastAccessorMethods | |
-XX:+UnlockDiagnosticVMOptions | |
-Xmx4096m | |
-Dide.no.platform.update=true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Change settings that reside in the following locations (depending on your operating system) :