Cannot find VM options file

Hello,

After upgrading to Webstorm 2016.1, Webstorm won't start complaining that: Cannot find VM options file. 

System: Windows 10

Not sure if that's relevant but I copied idea.properties, WebStorm.exe.vmoptions and WebStorm64.exe.vmoptions from C:\Program Files\JetBrains\WebStorm2016.1\bin  to C:\users\username\.WebStorm2016.1 but it didn't help.

 

Please advise.

 

Thank you 

2
5 comments

Ok. I don't know what happened - it works now. Thank you. I think it must be something to do with a desktop shortcut pointing to some older version of Webstorm on my computer.

2

Please can you attach WebStorm.exe.vmoptions from bin folder and your idea.log (https://intellij-support.jetbrains.com/hc/en-us/articles/207241085-Locating-IDE-log-files)? Please also remove idea.properties, WebStorm.exe.vmoptions and WebStorm64.exe.vmoptions from C:\users\username\.WebStorm2016.1

0

Hello.

Thank you for your response:

WebStorm.exe.vmoptions:

 

-server
-Xms128m
-Xmx512m
-XX:MaxPermSize=250m
-XX:ReservedCodeCacheSize=240m
-XX:+UseConcMarkSweepGC
-XX:SoftRefLRUPolicyMSPerMB=50
-ea
-Dsun.io.useCanonCaches=false
-Djava.net.preferIPv4Stack=true
-XX:+HeapDumpOnOutOfMemoryError
-XX:-OmitStackTraceInFastThrow

 

and idea.log:

2016-03-23 20:35:46,684 [ 1] INFO - #com.intellij.idea.Main - ------------------------------------------------------ IDE STARTED ------------------------------------------------------
2016-03-23 20:35:46,691 [ 8] INFO - #com.intellij.idea.Main - IDE: WebStorm (build #WS-145.258.3, 16 Mar 2016 00:00)
2016-03-23 20:35:46,691 [ 8] INFO - #com.intellij.idea.Main - OS: Windows 10 (10.0, x86)
2016-03-23 20:35:46,691 [ 8] INFO - #com.intellij.idea.Main - JRE: 1.8.0_60-b27 (Oracle Corporation)
2016-03-23 20:35:46,691 [ 8] INFO - #com.intellij.idea.Main - JVM: 25.60-b23 (Java HotSpot(TM) Server VM)
2016-03-23 20:35:46,693 [ 10] INFO - #com.intellij.idea.Main - JVM Args: -Xms128m -Xmx512m -XX:MaxPermSize=250m -XX:ReservedCodeCacheSize=240m -XX:+UseConcMarkSweepGC -XX:SoftRefLRUPolicyMSPerMB=50 -ea -Dsun.io.useCanonCaches=false -Djava.net.preferIPv4Stack=true -XX:+HeapDumpOnOutOfMemoryError -XX:-OmitStackTraceInFastThrow -Djb.vmOptionsFile=C:\Program Files (x86)\JetBrains\WebStorm 2016.1\bin\WebStorm.exe.vmoptions -Xbootclasspath/a:C:\Program Files (x86)\JetBrains\WebStorm 2016.1\lib\boot.jar -Didea.platform.prefix=WebStorm -Didea.paths.selector=WebStorm2016.1
2016-03-23 20:35:46,693 [ 10] INFO - #com.intellij.idea.Main - ext: C:\Program Files (x86)\JetBrains\WebStorm 2016.1\jre\jre\lib\ext: [access-bridge-32.jar, cldrdata.jar, dnsns.jar, jaccess.jar, jfxrt.jar, localedata.jar, meta-index, nashorn.jar, sunec.jar, sunjce_provider.jar, sunmscapi.jar, sunpkcs11.jar, zipfs.jar]
2016-03-23 20:35:46,693 [ 10] INFO - #com.intellij.idea.Main - JNU charset: Cp1252
2016-03-23 20:35:46,830 [ 147] INFO - #com.intellij.idea.Main - JNA library loaded (32-bit) in 136 ms
2016-03-23 20:35:46,833 [ 150] INFO - penapi.util.io.win32.IdeaWin32 - Native filesystem for Windows is operational
2016-03-23 20:35:46,833 [ 150] INFO - #com.intellij.idea.Main - Using "FocusKiller" library to prevent focus stealing.
2016-03-23 20:37:04,343 [ 77660] INFO - llij.ide.plugins.PluginManager - Cannot find optional descriptor js-nashorn-support.xml
2016-03-23 20:37:04,724 [ 78041] INFO - llij.ide.plugins.PluginManager - 53 plugins initialized in 581 ms
2016-03-23 20:37:04,739 [ 78056] INFO - llij.ide.plugins.PluginManager - Loaded bundled plugins: ASP (0.1), AngularJS (145.258.3), CSS Support (145.SNAPSHOT), CVS Integration (11), CoffeeScript (2.0), Cucumber.js (145.258.3), Dart (145.258.3), EJS (145.258.3), EditorConfig (145.258.3), File Watchers (145.258.3), Gherkin (999.999), Git Integration (8.1), GitHub (145.258.3), HAML (145.SNAPSHOT), HTML Tools (2.0), Handlebars/Mustache (145.258.3), IDEA CORE (145.SNAPSHOT), IntelliLang (8.0), Jade (145.258.3), Java Server Pages (JSP) Integration (1.0), JavaScript Debugger (1.0), JavaScript Intention Power Pack (0.9.4), JavaScript Support (1.0), Karma (145.258.3), LESS support (145.SNAPSHOT), LiveEdit (145.258.3), Meteor (145.258.3), Node.js Remote Interpreter (145.258.3), NodeJS (145.258.3), Perforce Integration (2.0), PhoneGap/Cordova Plugin (145.258.3), Polymer & Web Components (145.258.3), QuirksMode (145.SNAPSHOT), REST Client (145.SNAPSHOT), Refactor-X (2.01), Remote Hosts Access (0.1), SASS support (145.SNAPSHOT), SSH Remote Run (0.1), Settings Repository (145.258.3), Spy-js (145.258.3), Stylus support (145.258.3), Subversion Integration (1.1), Task Management (1.0), Terminal (0.1), TextMate bundles support (VERSION), Time Tracking (1.0), Vagrant (0.6.VERSION), W3C Validators (2.0), XPathView + XSLT Support (4), XSLT-Debugger (1.4), YAML (145.SNAPSHOT), Yeoman (145.258.3), hg4idea (10.0)
2016-03-23 20:37:05,177 [ 78494] INFO - ellij.vfs.persistent.FSRecords - Marking VFS as corrupted: 'C:\Users\xtd8865\.WebStorm2016.1\system\caches\names.dat' does not exist
2016-03-23 20:37:05,179 [ 78496] INFO - ellij.util.io.PagedFileStorage - lower=100; upper=200; buffer=10; max=474
2016-03-23 20:37:05,234 [ 78551] INFO - pl.local.NativeFileWatcherImpl - Starting file watcher: C:\Program Files (x86)\JetBrains\WebStorm 2016.1\bin\fsnotifier.exe
2016-03-23 20:37:05,255 [ 78572] INFO - pl.local.NativeFileWatcherImpl - Native file watcher is operational.
2016-03-23 20:37:05,694 [ 79011] INFO - .history.utils.LocalHistoryLog - local history version mismatch (was: 0, expected: 6), rebuilding...
2016-03-23 20:37:05,694 [ 79011] INFO - .history.utils.LocalHistoryLog - FS has been rebuild, rebuilding local history...
2016-03-23 20:37:06,059 [ 79376] INFO - rains.ide.BuiltInServerManager - built-in server started, port 63342
2016-03-23 20:37:06,105 [ 79422] INFO - gs.impl.UpdateCheckerComponent - channel: release
2016-03-23 20:37:07,681 [ 80998] INFO - plication.impl.ApplicationImpl - 78 application components initialized in 3539 ms
2016-03-23 20:37:07,687 [ 81004] INFO - .intellij.idea.IdeaApplication - App initialization took 87371 ms
2016-03-23 20:37:08,012 [ 81329] INFO - .openapi.application.Preloader - Finished preloading com.intellij.openapi.actionSystem.impl.ActionPreloader@8efebf
2016-03-23 20:37:08,533 [ 81850] INFO - .openapi.application.Preloader - Finished preloading com.intellij.ide.ui.search.SearchableOptionPreloader@ad0e3e
2016-03-23 20:37:09,181 [ 82498] INFO - ellij.project.impl.ProjectImpl - 107 project components initialized in 942 ms
2016-03-23 20:37:09,291 [ 82608] INFO - le.impl.ModuleManagerComponent - 1 module(s) loaded in 110 ms
2016-03-23 20:37:10,793 [ 84110] INFO - .diagnostic.PerformanceWatcher - High memory usage (free 50 of 494 MB) while dumping threads to C:\Users\xtd8865\.WebStorm2016.1\system\log\threadDumps-20160323-203705-WS-145.258\20160323-203710\threadDump-20160323-203710.txt
2016-03-23 20:37:14,047 [ 87364] INFO - tartup.impl.StartupManagerImpl - X:/projects/react-gallery/.idea case-sensitivity: expected=false actual=false
2016-03-23 20:37:14,988 [ 88305] INFO - tor.impl.FileEditorManagerImpl - Project opening took 6791 ms
2016-03-23 20:37:22,941 [ 96258] INFO - .diagnostic.PerformanceWatcher - Pushing properties took 10773ms; general responsiveness: 0/32 sluggish, 21/32 very slow; EDT responsiveness: 1/11 sluggish
2016-03-23 20:37:27,182 [ 100499] INFO - .diagnostic.PerformanceWatcher - Indexable file iteration took 4240ms; general responsiveness: 0/13 sluggish, 9/13 very slow; EDT responsiveness: ok
2016-03-23 20:37:27,206 [ 100523] INFO - indexing.UnindexedFilesUpdater - Unindexed files update started: 78062 files to update
2016-03-23 20:37:51,374 [ 124691] INFO - ellij.project.impl.ProjectImpl - 15 project components initialized in 16 ms
2016-03-23 20:37:51,374 [ 124691] INFO - le.impl.ModuleManagerComponent - 0 module(s) loaded in 0 ms
2016-03-23 20:37:51,437 [ 124754] INFO - indexing.UnindexedFilesUpdater - Unindexed files update canceled
2016-03-23 20:38:09,551 [ 142868] INFO - ellij.project.impl.ProjectImpl - 107 project components initialized in 30 ms
2016-03-23 20:38:09,551 [ 142868] INFO - le.impl.ModuleManagerComponent - 0 module(s) loaded in 0 ms
2016-03-23 20:38:09,571 [ 142888] INFO - i.vcs.changes.ChangeListWorker - default list not found when copy
2016-03-23 20:38:09,571 [ 142888] INFO - i.vcs.changes.ChangeListWorker - default list not found when copy in original object too
2016-03-23 20:38:09,755 [ 143072] INFO - tartup.impl.StartupManagerImpl - X:/projects/reactivos/.idea case-sensitivity: expected=false actual=false
2016-03-23 20:38:09,877 [ 143194] INFO - tor.impl.FileEditorManagerImpl - Project opening took 365 ms
2016-03-23 20:38:18,232 [ 151549] INFO - .diagnostic.PerformanceWatcher - Pushing properties took 8496ms; general responsiveness: 0/27 sluggish, 18/27 very slow; EDT responsiveness: ok
2016-03-23 20:38:20,362 [ 153679] INFO - .diagnostic.PerformanceWatcher - Indexable file iteration took 2130ms; general responsiveness: 0/7 sluggish, 5/7 very slow; EDT responsiveness: ok
2016-03-23 20:38:20,366 [ 153683] INFO - indexing.UnindexedFilesUpdater - Unindexed files update started: 78538 files to update
2016-03-23 20:38:32,870 [ 166187] INFO - ellij.vfs.persistent.FSRecords - Contents:16384 of 53087145, reuses:11498 of 29579312 for 721
2016-03-23 20:38:46,879 [ 180196] INFO - ellij.vfs.persistent.FSRecords - Contents:32768 of 81508578, reuses:27155 of 55347976 for 1065
2016-03-23 20:38:59,657 [ 192974] INFO - ellij.vfs.persistent.FSRecords - Contents:49152 of 110228919, reuses:43466 of 83819577 for 1391
2016-03-23 20:39:10,353 [ 203670] INFO - ellij.vfs.persistent.FSRecords - Contents:65536 of 138974066, reuses:59799 of 112481516 for 1719
2016-03-23 20:39:22,540 [ 215857] INFO - ellij.vfs.persistent.FSRecords - Contents:81920 of 164999927, reuses:76080 of 138363207 for 2028
2016-03-23 20:39:25,597 [ 218914] INFO - .diagnostic.PerformanceWatcher - Unindexed files update took 65231ms; general responsiveness: 3/195 sluggish, 130/195 very slow; EDT responsiveness: 2/65 sluggish
2016-03-23 20:39:25,723 [ 219040] INFO - tellij.xml.Html5SchemaProvider - HTML5_SCHEMA_LOCATION = C:/Program Files (x86)/JetBrains/WebStorm 2016.1/lib/webstorm.jar!/resources/html5-schema/html5.rnc
2016-03-23 20:39:25,723 [ 219040] INFO - tellij.xml.Html5SchemaProvider - XHTML5_SCHEMA_LOCATION = C:/Program Files (x86)/JetBrains/WebStorm 2016.1/lib/webstorm.jar!/resources/html5-schema/xhtml5.rnc
2016-03-23 20:39:25,723 [ 219040] INFO - tellij.xml.Html5SchemaProvider - CHARS_DTD_LOCATION = C:/Program Files (x86)/JetBrains/WebStorm 2016.1/lib/webstorm.jar!/resources/html5-schema/html5chars.ent
2016-03-23 20:39:25,794 [ 219111] INFO - lij.tasks.impl.TaskManagerImpl - Updating issues cache (every 20 min)
2016-03-23 20:39:25,878 [ 219195] INFO - pl.ProjectRootManagerComponent - project roots have changed
2016-03-23 20:39:25,885 [ 219202] INFO - pl.ProjectRootManagerComponent - project roots have changed
2016-03-23 20:39:26,408 [ 219725] INFO - .diagnostic.PerformanceWatcher - Pushing properties took 352ms; general responsiveness: 0/5 sluggish, 4/5 very slow; EDT responsiveness: ok
2016-03-23 20:39:28,226 [ 221543] INFO - .diagnostic.PerformanceWatcher - Indexable file iteration took 1818ms; general responsiveness: ok; EDT responsiveness: ok
2016-03-23 20:39:28,226 [ 221543] INFO - indexing.UnindexedFilesUpdater - Unindexed files update started: 1 files to update
2016-03-23 20:39:28,327 [ 221644] INFO - .diagnostic.PerformanceWatcher - Unindexed files update took 101ms; general responsiveness: ok; EDT responsiveness: ok
2016-03-23 20:59:25,762 [1419079] INFO - lij.tasks.impl.TaskManagerImpl - Updating issues cache (every 20 min)
2016-03-23 21:14:14,965 [2308282] WARN - om.intellij.util.ProfilingUtil - Profiling agent is not enabled. Add -agentlib:yjpagent to idea.vmoptions if necessary to profile IDEA.
2016-03-23 21:14:14,970 [2308287] INFO - .script.IdeScriptEngineManager - javax.script.ScriptEngineManager initialized in 13 ms
2016-03-23 21:18:43,287 [2576604] WARN - ConfigurableExtensionPointUtil - ignore deprecated groupId: editor for id: editor.preferences.import
2016-03-23 21:19:25,763 [2619080] INFO - lij.tasks.impl.TaskManagerImpl - Updating issues cache (every 20 min)
2016-03-23 21:29:20,435 [3213752] INFO - org.jetbrains.io.BuiltInServer - web server stopped
2016-03-23 21:29:20,440 [3213757] INFO - Types.impl.FileTypeManagerImpl - FileTypeManager: 7369 auto-detected files
Elapsed time on auto-detect: 16030 ms
2016-03-23 21:29:20,443 [3213760] INFO - il.indexing.FileBasedIndexImpl - START INDEX SHUTDOWN
2016-03-23 21:29:20,596 [3213913] INFO - il.indexing.FileBasedIndexImpl - END INDEX SHUTDOWN
2016-03-23 21:29:20,596 [3213913] INFO - stubs.SerializationManagerImpl - START StubSerializationManager SHUTDOWN
2016-03-23 21:29:20,596 [3213913] INFO - stubs.SerializationManagerImpl - END StubSerializationManager SHUTDOWN
2016-03-23 21:29:20,659 [3213976] INFO - ntellij.util.io.BaseDataReader - Stream closed
java.io.IOException: Stream closed
at java.io.BufferedInputStream.getBufIfOpen(BufferedInputStream.java:170)
at java.io.BufferedInputStream.read(BufferedInputStream.java:336)
at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:284)
at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:326)
at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:178)
at java.io.InputStreamReader.read(InputStreamReader.java:184)
at java.io.Reader.read(Reader.java:140)
at com.intellij.util.io.BaseOutputReader.readAvailableBlocking(BaseOutputReader.java:96)
at com.intellij.util.io.BaseOutputReader.readAvailable(BaseOutputReader.java:137)
at com.intellij.util.io.BaseDataReader.doRun(BaseDataReader.java:129)
at com.intellij.util.io.BaseDataReader$1.run(BaseDataReader.java:61)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
2016-03-23 21:29:20,659 [3213976] INFO - ntellij.util.io.BaseDataReader - Stream Closed
java.io.IOException: Stream Closed
at java.io.FileInputStream.readBytes(Native Method)
at java.io.FileInputStream.read(FileInputStream.java:255)
at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:284)
at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:326)
at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:178)
at java.io.InputStreamReader.read(InputStreamReader.java:184)
at java.io.Reader.read(Reader.java:140)
at com.intellij.util.io.BaseOutputReader.readAvailableBlocking(BaseOutputReader.java:96)
at com.intellij.util.io.BaseOutputReader.readAvailable(BaseOutputReader.java:137)
at com.intellij.util.io.BaseDataReader.doRun(BaseDataReader.java:129)
at com.intellij.util.io.BaseDataReader$1.run(BaseDataReader.java:61)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
2016-03-23 21:29:20,659 [3213976] INFO - pl.local.NativeFileWatcherImpl - Watcher terminated with exit code 0
2016-03-23 21:29:20,659 [3213976] INFO - newvfs.persistent.PersistentFS - VFS dispose started
2016-03-23 21:29:20,705 [3214022] INFO - newvfs.persistent.PersistentFS - VFS dispose completed
2016-03-23 21:29:20,705 [3214022] INFO - #com.intellij.idea.Main - ------------------------------------------------------ IDE SHUTDOWN ------------------------------------------------------
2016-03-23 21:29:20,705 [3214022] INFO - org.jetbrains.io.BuiltInServer - web server stopped

 

0

Thank you for figuring it out - this exact same thing happened to me!

0

I know that this thread is old, but after upgrade to 2017.2 and if you use 64bit starter i.e. phpstorm64.exe and came across this error, just rename the 32bit version of the file and you'll be ready to go (i.e. rename phpstorm.exe.vmoptions to phpstorm64.exe.vmoptions)

0

Please sign in to leave a comment.