Plugin build via Plugin RunConfiguration to IntelliJ CE renders CE unresponsive

Completed

I am building a very simple plugin, and have been deploying to IntelliJ CE for testing (i am coding in Ultimate). I created my Plugin project using the IntelliJ New Project wizard, and use the IntelliJ provided Plugin RunConfiguration. When I Run, it opens CE with my plugin "installed" as expected, however within 5-10 seconds, CE becomes unresponsive with the spinning wheel. Looking at ActivityMonitor the Main process (ie. CE as loaded by Ultimate) shows the memory increasing by 1GB ever few seconds. 

Initially, I thought I did something wrong in my plugin (infinite loop, etc.) so I cloned a few plugins from Github and tried "running" them to the same effect. My computer can handle multiple IntelliJ's running (16GB of ram). I updated to latest CE and Ultimate as well (2019.1).

Any ideas about what is happening and how to make my "builds" usable? Thanks

 

 

0
2 comments

Please create issue in https://youtrack.jetbrains.com/issues/IDEA and attach idea.log from _debug_ instance. Thanks.

0

For anyone running into this, the fix is outlined here: https://stackoverflow.com/questions/55783215/intellij-plugin-development-freezes-target-intellij-instance

It appears the instructions on IntelliJ's docs are outdated, and a special download of the IntelliJ Runtime JDK (from bintray) is required, to be used as the IntelliJ Plugin Development SDK's JRE.

 

1

Please sign in to leave a comment.