IDE 2016.2.5 won't start on Mac OS 10.12.1
已回答
Previously it worked fine, but after restarting my Mac somehow it can't be opened.
请先登录再写评论。
Do you see any errors when trying to start? From where do you start it? Try opening from terminal: `open -a "/Applications/IntelliJ IDEA 2016.2.5.app"`.
I tried starting from spotlight and launchpad.
Now from terminal, this is what I got
"LSOpenURLsWithRole() failed for the application /Applications/IntelliJ IDEA.app with error -10810."
I tried searching for error -10810 but couldn't find what error that is
Please check this thread about similar error. Try this solution or re-download from https://www.jetbrains.com/idea/download/ and re-install.
I've redownloaded and reinstalled but the problem persists.
I tried the SE solution, and managed to open it through terminal, but found this line while starting it
Invalid ReservedCodeCacheSize=2400M. Must be at most 2048M
I remember that I changed the setting, so now how can I change the setting outside IDEA?
Thanks Andrey, so far so good, now I think the last part would solve it.
OK finally solved the problem, I changed the idea.vmoptions file located in ~/Library/Preferences/IntelliJIdea2016.2/idea.vmoptions and changed the ReservedCodeCacheSize to 2048M and now it works.
Thanks Andrey!
Thanks for the information.