I worked on my WebStorm today, (last release: 7.0.2). I shutdown my computer one hour ago, and now I can't start my WebStorm.
"Failed to launch JVM: Error code -4"
IntelliJ IDEA and PhpStorm work both.
What can I do? ...
I think I identified the issue.
Three days ago, I got a problem with WebStorm, it said that it doesn't have enough RAM to proccess. So I upgraded the RAM available from 512Mo to 1024Mo.
I didn't restart my computer since.
And now, he get that its properties changed and refuse to start.
To correct it you have to change the file in :
Content of my file:
-Xmx1024m // <= This is probably my issue. Should be 512m even if I don't get why it cannot start cause I've 6Go...
Please check these links for some info on how it works: