IntelliJ idea slow / freezes during debug phase

Currently, there is a very slow debug start time (between 25-45 seconds) with the idea of ​​CE 14.1.5. Playback:

  • Change the code that will invoke the javac call.
  • Hit debugging.
  • The status bar shows “Make” and the entire IDE hangs.

I am using 2015 Macbook pro and Java 1.8.0_60 64bit.

+6
source share
3 answers

After profiling using the recommendations above, I traced it to this problem:

IntelliJ freezes for about 30 seconds before debugging

Which, in turn, indicates a problem with InetAddress.getLocalHost() on * nix. Following the advice in this related post, of course, he helped him get away:

InetAddress.getLocalHost () throws an UnknownHostException

+5
source

I had similar problems launching the debugging application and did various tips on workarounds to figure this out, but in my case I had a lot of forgotten breakpoints marked in the application and deleted them all application launches and quickly started zipper.

So, my advice is to remove all breakpoints from the code, at least when the application starts.

+1
source

You must assign more memory. This almost always reduces latency / freeze issues. You can find guidance on changing this setting in the IntelliJ manual .

-3
source

All Articles