First of all, note that this blog is a reference to http://ningg.top/tool-personal-intellij-idea-for-mac-optimize/the post and write, in this acknowledgement to the author!
Body part:
The recent use of IDEA programming debugging found that the debug function started to become very slow, small programs are also the case, so on the Internet to find possible causes of the problem. Unexpectedly, Google's first few popular search returns to my solution are "remove the breakpoint on the method," MD, my program in the method there is no breakpoint good. Looking back, I found that the bloggers may not be very familiar with this problem, just feel that the surface of the problem to solve their own. This is certainly a matter of course, but for us to meet the same problem of "posterity rookie" may be confused, puzzling and other things. But fortunately, turned a few pages to find a relatively comprehensive solution, (of course, it just solves my own problem, not to spray [embarrassing] I'm just a cute little rookie), so in this record, just hope to tell you this method, give you a little more reference, to those confused "posterity rookie" (including me) a hint of warmth.
Not much nonsense to say, first throw the perfect solution to my problem plan (again special thanks to the author of the link above)
Open terminal------> in Terminal input scutil--set HostName "localhost" in the Pop-up dialog box to enter the password, the author's explanation is the need to update the Hosts file (specific reasons for me to find out later to share to everyone, Do not understand or affect everyone to solve the problem)
This is a perfect solution to the problem there are wood, there is no need to restart idea has wood!
Other Solutions
Remove the breakpoint in front of the method and set the breakpoint inside the method body. (Solutions provided by most people)
Configuration optimizations that complement idea (modify the JVM's parameter configuration in idea)
Open idea, menu –> help–> Edit Custom VM options, adjust parameters, reboot.
The specific parameter adjustment may refer to:
(Again special thanks to the author of the link above "Applause! 】)
IDE IntelliJ Idea (MAC) Run speed optimization (problem cause: Debug mode suddenly becomes huge slow)