Skip to content

Instantly share code, notes, and snippets.

@vrkansagara
Created March 23, 2022 07:21
Show Gist options
  • Save vrkansagara/958871ecdd8bba49982c0e00b0c38da2 to your computer and use it in GitHub Desktop.
Save vrkansagara/958871ecdd8bba49982c0e00b0c38da2 to your computer and use it in GitHub Desktop.
phpstrom performance tune up parameters
-server
-Xms2048m
-Xmx2048m
-XX:NewSize=512m
-XX:MaxNewSize=512m
-XX:PermSize=512m
-XX:MaxPermSize=512m
-XX:+UseParNewGC
-XX:ParallelGCThreads=4
-XX:PretenureSizeThreshold=64m
-XX:MaxTenuringThreshold=8
-XX:NewRatio=3
-XX:SurvivorRatio=8
-XX:TargetSurvivorRatio=90
-XX:+UseCodeCacheFlushing
-XX:+UseConcMarkSweepGC
-XX:+AggressiveOpts
-XX:+CMSClassUnloadingEnabled
-XX:+CMSIncrementalMode
-XX:+CMSIncrementalPacing
-XX:+CMSParallelRemarkEnabled
-XX:CMSInitiatingOccupancyFraction=65
-XX:+CMSScavengeBeforeRemark
-XX:+UseCMSInitiatingOccupancyOnly
-XX:ReservedCodeCacheSize=256m
-XX:-TraceClassUnloading
-ea
-Dsun.io.useCanonCaches=false
-verbose:gc
-Xss1M
-Xgcpolicy:gencon
-Xjit:codetotal=131072
-Dsun.net.inetaddr.ttl=160
-XX:+HeapDumpOnOutOfMemoryError
-XX:HeapDumpPath=/tmp/phpstrom`date`.hprof
-Duser.timezone="Asia/Kolkata"
-XX:-OmitStackTraceInFastThrow
-XX:CMSMaxAbortablePrecleanTime=6000
-XX:GCLogFileSize=20M
-XX:NumberOfGCLogFiles=9
@vrkansagara
Copy link
Author

PhpStorm 2021.3.3
Build #PS-213.7172.28, built on March 17, 2022

------

-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:+UseG1GC
-XX:+UseStringDeduplication
-XX:-OmitStackTraceInFastThrow
-Xlog:class+unload=off
-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

-Xms4096m
-Xmx4096m

-ea-XX:NewRatio

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment