Unable to open pycharm-professional-2020.2.3.dmg on mac os big sur
Unable to open the latest version ( or any of the versions with 2020) on my mac os. Had to go back to 2019.3 to install pycharm and that version works.
Clicking on the pycharm icon has no effect.
Can you please advice how I can get this working?
Please sign in to leave a comment.
Same issue here with phpstorm and webstorm
Hi, could you please try starting PyCharm with <installation_dir>/pycharm.bat and provide the console output if it doesn't work?
Also would be great to see your logs after failed startup. You can upload idea.log to https://uploads.jetbrains.com/ , and provide upload ID in your reply. The log directory can be located according to https://www.jetbrains.com/help/pycharm/directories-used-by-the-ide-to-store-settings-caches-plugins-and-logs.html#logs-directory
Andrey Resler - this is mac os. Is there an equivalent shell script?
Yes, please see https://intellij-support.jetbrains.com/hc/en-us/articles/360011901879-How-to-start-IDE-from-the-command-line
(Change IDEA to PyCharm in the path) for more information on how to start IDE from terminal on Mac
Andrey Resler: Seems like a JVM issue. this is what I get:
2020-11-29 12:00:34.974 pycharm[1056:24058] allVms required 1.8*,1.8+
2020-11-29 12:00:34.975 pycharm[1056:24058] Found Java Virtual Machines:
2020-11-29 12:00:34.975 pycharm[1056:24058] /Applications/Pycharm.app/Contents/jbr
2020-11-29 12:00:34.975 pycharm[1056:24058] Required VMs: 1.8*,1.8+
2020-11-29 12:00:34.975 pycharm[1056:24058] Chosen VM:
2020-11-29 12:00:34.975 pycharm[1056:24058] /Applications/Pycharm.app/Contents/jbr
2020-11-29 12:00:34.976 pycharm[1056:24064] Current Directory: /Applications
2020-11-29 12:00:34.976 pycharm[1056:24064] Value of PYCHARM_VM_OPTIONS is (null)
2020-11-29 12:00:34.976 pycharm[1056:24064] Processing VMOptions file at /Users/x/Library/Application Support/JetBrains/PyCharm2020.2/pycharm.vmoptions
2020-11-29 12:00:34.976 pycharm[1056:24064] Reading at /Users/x/Library/Application Support/JetBrains/PyCharm2020.2/pycharm.vmoptions OK
2020-11-29 12:00:34.976 pycharm[1056:24064] Done
Invalid maximum heap size: -Xmx0m
Invalid maximum heap size: -Xmx0m
2020-11-29 12:00:34.983 pycharm[1056:24064] JNI_CreateJavaVM (/Applications/Pycharm.app/Contents/jbr) failed: 4294967290
Also no issues with other IDEs like vscode and earlier versions of pycharm i.e 2019.3
In case it helps anyone else, I was able to fix this by navigating to:
/Users/{username}/Library/Application Support/JetBrains
and then running:
rm -rf PyCharm2020.*
Not sure how that worked but able to open 2020.2 now which is a relief.
This was the issue probably: "Invalid maximum heap size: -Xmx0m"
By wiping out the settings you have recreated the vmoptions file with default options. Why -Xmx became 0m we can only guess now.