ScriptedAlchemy / jetbrains-ide-performance

High Performance Configuration for Jetbrains IDEs [IntelliJ, WebStorm, etc..]
272 stars 34 forks source link

phpstorm 2019.2 - vmoptions #3

Open millsoft opened 5 years ago

millsoft commented 5 years ago

Hey,

I just upgraded to 2019.2 and a lot of vmoptions are not working anymore. These prevented me to launch phpstorm.

I removed all these problematic options, now the list looks like that:

-Xms1024m
-Xmx2048m
-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:ParallelGCThreads=4
-XX:MaxTenuringThreshold=1
-XX:SurvivorRatio=8
-XX:+UseCodeCacheFlushing
-XX:+AggressiveOpts
-XX:+CMSClassUnloadingEnabled
-XX:+CMSParallelRemarkEnabled
-XX:CMSInitiatingOccupancyFraction=65
-XX:+CMSScavengeBeforeRemark
-XX:+UseCMSInitiatingOccupancyOnly
-Xlog:class+unload=off
-XX:+AlwaysPreTouch
-XX:+TieredCompilation
-XX:+DoEscapeAnalysis
-XX:+UnlockExperimentalVMOptions
-XX:LargePageSizeInBytes=256m
-XX:+DisableExplicitGC
-XX:+ExplicitGCInvokesConcurrent
-XX:+PrintGCDetails
-XX:+PrintFlagsFinal
-XX:+HeapDumpOnOutOfMemoryError
-XX:+UseAdaptiveGCBoundary
-XX:CompileThreshold=10000
-XX:+OptimizeStringConcat
-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

no custom stuff from me, just the list from this repository. If you want, update the file in this repo.

CongAn commented 3 years ago

Using ScriptedAlchemy/jetbrains-ide-performance configuration, it will run normally in 2021.2, without any problems you mentioned

ScriptedAlchemy commented 2 years ago

@millsoft @CongAn please sned a PR if these options do not work anymore, happy to accept updates

ScriptedAlchemy commented 2 years ago

@CongAn bump