简体   繁体   中英

JetBrains IntelliJ Idea taking very long time to “make”

For some reason IntelliJ seems to be having an issue where it takes minutes to compile a simple Java program. Here is a picture of it taking 1 minute and 54 seconds to compile the most basic "Hello World" program:

在此处输入图片说明

That was taken compiling using java 8. I tried again using java 7 and here's a screen shot of that attempt:

在此处输入图片说明

It took 3 minutes 42 seconds. This is not only happening the very first time; it is happening every time I compile, even the second or third time compiling it. If I was to compile it by clicking "Make Project" then click "run" it would remake the project, taking another 2minutes just to run it... This is becoming a serious issue and any help is greatly appreciated.

Edit:

I'm running Windows 8 on an Intel i7.

SOLVED:

For anyone else having this problem... Check if you have MalwareBytes: Anti-Exploit installed. For me it severely impacted the performance of any of the IDE's I tried to code Java in, and was the ultimate cause of this issue. :)

Thanks, Sean.

Bang.. I was going to suggest the same. Always prefer to exclude the build directory from your anti-virus scan . Had the same issue for quite some time with McAfee installed on my system... but eventually realized that it was scanning for new files which were created post build process.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM