IDE IntelliJ Idea (MAC) Run speed optimization (problem cause: Debug mode suddenly becomes huge slow)

Source: Internet
Author: User

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)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.