jetbrains-ide-performance icon indicating copy to clipboard operation
jetbrains-ide-performance copied to clipboard

Some outdated VM options ?

Open jgod opened this issue 2 years ago • 5 comments

WebStorm 2021.2.1

Removed unrecognized options one by one until I could get a successful boot

OpenJDK 64-Bit Server VM warning: Ignoring option PermSize; support was removed in 8.0
OpenJDK 64-Bit Server VM warning: Ignoring option MaxPermSize; support was removed in 8.0
Unrecognized VM option 'UseParNewGC'

OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.
OpenJDK 64-Bit Server VM warning: Option AggressiveOpts was deprecated in version 11.0 and will likely be removed in a future release.
Unrecognized VM option 'CMSIncrementalMode'
Unrecognized VM option 'CMSIncrementalPacing'

[0.005s][warning][arguments] -XX:-TraceClassUnloading is deprecated. Will use -Xlog:class+unload=off instead.
Unrecognized VM option 'CMSPermGenSweepingEnabled'
Unrecognized VM option 'UseSplitVerifier'
Unrecognized VM option 'UseCompressedStrings'
Unrecognized VM option 'UseStringCache'
Unrecognized VM option 'UseFastAccessorMethods'
[0.006s][warning][gc       ] -XX:+PrintGCDetails is deprecated. Will use -Xlog:gc* instead.

jgod avatar Sep 05 '21 14:09 jgod

Would you be able to provide the settings you ended up with?

M1kep avatar Sep 12 '21 00:09 M1kep

@M1kep I set my memory (-Xmx) higher (you may want to tweak) just because I have a lot of RAM to play with. And it has my user path in there, so you should change those. But your file should look something like this with the bad flags removed.

-Xms1024m
-Xmx8192m
-Xss64m
-XX:ReservedCodeCacheSize=512m
-XX:+UseCompressedOops
-XX:NewRatio=2
-Dfile.encoding=UTF-8
-XX:SoftRefLRUPolicyMSPerMB=250
-XX:NewSize=512m
-XX:MaxNewSize=512m
-XX:ParallelGCThreads=4
-XX:MaxTenuringThreshold=1
-XX:SurvivorRatio=8
-XX:+UseCodeCacheFlushing
-XX:+AggressiveOpts
-XX:+CMSClassUnloadingEnabled
-XX:+CMSParallelRemarkEnabled
-XX:CMSInitiatingOccupancyFraction=65
-XX:+CMSScavengeBeforeRemark
-XX:+UseCMSInitiatingOccupancyOnly
-XX:-TraceClassUnloading
-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
-Djdk.http.auth.tunneling.disabledSchemes=""
-Djdk.attach.allowAttachSelf=true
-Djdk.module.illegalAccess.silent=true
-Dkotlinx.coroutines.debug=off
-Dide.no.platform.update=true
-XX:+UseG1GC
-Dtoolbox.notification.token=JguwhrCB8wf0b0Wv-BRDQ14zgBCCXobf5XtFkfoPcUA=
-Dtoolbox.notification.portFile=C:\Users\justin\AppData\Local\JetBrains\Toolbox\apps\WebStorm\ch-0\212.5080.54.vmoptions.port

jgod avatar Sep 14 '21 18:09 jgod

Send a PR please

ScriptedAlchemy avatar Mar 17 '22 08:03 ScriptedAlchemy

@jgod

ScriptedAlchemy avatar Mar 17 '22 08:03 ScriptedAlchemy

@jgod please send a PR

ScriptedAlchemy avatar Jul 11 '22 08:07 ScriptedAlchemy