Failed to load JVM, PhpStorm 64bit, Windows 10

Just tore through the old posts that have a similar theme and unfortunately none of those solutions were effective.

Information:

Upon opening PhpStorm, I receive an error saying, "Failed to create JVM. JVM Path: C:\Program Files\JetBrains\PhpStorm2020.3\jbr\"; screenshot below.

Suggestions I've seen elsewhere & extra information:

I've attempted to fix via reinstall, which did not work: same issue upon startup

I did not edit my vmoptions file, here's the text:

It's checking inside the installation folder for its java package, which exists:

I have an installation of DataGrip installed that is working, but it's a 2020.2 version.

Does anyone have any suggestions?

1

Would it be possible to re-install the IDE by using the JetBrains Toolbox this time?

Link: https://www.jetbrains.com/toolbox-app/

Sure, it does not sound like an elegant solution but could be a quick way to fix the problem.

1
Avatar
Permanently deleted user

Thanks for the suggestion.

Uninstalled via windows. Reinstalled via the toolbox application. Results:

0

Do you have any antivirus software installed by the chance?

0
Avatar
Permanently deleted user

UPDATE:

After installing via ToolBox the above error showed up. On a hunch, I decided to check the Javascript options via the ToolBox. There I found this setting:

-Xmx4000000m

That's way too much memory, so I set that back to -Xmx512m, which made launch work. Here's the current VM Options, which currently works. Some key differences I've noticed will be below

Changes:

-Xmx512m instead of -Xmx4000000m(new default) or -Xmx720m(first screenshot file default)
-XX:ReservedCodeCacheSize=240m instead of 512m(first default)

Added:
-Dsun.io.useCanonPrefixCache=false
-Dide.no.platform.update=true
-Didea.plugins.path=C:\\Users\\DavidMcEldowney\\AppData\\Local\\JetBrains\\Toolbox\\apps\\PhpStorm\\ch-0\\202.8194.11.plugins

Removed:

-Dsun.io.useCanonCaches=false

0

Whoah, the Xmx4000000m is something really impossible, I wonder where did this option get from. Anyway, good to hear that launch works now, thanks for sharing the update.

0

请先登录再写评论。