Very long compilation of the project
Answered
Compilation of even a small project takes about 2 minutes. If you disable the Internet, the compilation takes about 1-3 seconds. How can I fix this problem? I downloaded the program from the official site. IntelliJ IDEA Community Edition 2017.1.1 x64.
PC Features:
CPU: AMD Athlon(tm) X3 440 Processor 3.00 GHz
RAM: DDR3 4 Gb
Graphics card: NVIDIA GeForce GTX 460
OS: Windows 8 x64
The speed of the hard drive is about 20 MB / s.
Please sign in to leave a comment.
Long localhost resolve could be the case. While it usually affects only Mac users, you may have a similar issue with DNS: https://youtrack.jetbrains.com/issue/IDEA-161967.
I read the proposed discussions, but nothing happened, I tried to add different lines to the file "localhost", but there was no effect. Can there is a way to find out what IDEA does when it collects the program for 2 minutes? When there is an Internet connection, the program performs the "build" procedure for a long time.
Get the thread dumps of IntelliJ IDEA process and of the compiler process (jps), see https://intellij-support.jetbrains.com/hc/articles/206544899.