So today I tried to run my PHPStorm7 IDE and I got this error :
I get a "Failed to create JVM error"; how can I avoid it?
I found this related issue, but it didn't help me.
So i just fixed my problem thanks to @lena :
Edit the Phpstorm.exe.vmoptions file (IDE_HOME\bin\Phpstorm.exe.vmoptions) :
-Xms128m
-Xmx2048m
-XX:MaxPermSize=250m
-XX:ReservedCodeCacheSize=64m
-XX:+UseCodeCacheFlushing
-ea
-Dsun.io.useCanonCaches=false
And reduce -Xmx value step by step reducing by 100m every time until it starts.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With