Build time, and runtime configuration start time very slow (IntelliJ 2024.2.x)

Answered

Build performance and starting a (tomcat) runtime configuration are a lot slower in IntelliJ version 2024.2. We have a fairly big project, and building/running it in the new version is unbearably slow.

In IntelliJ version 2024.1.6, building the project (via menu Build → Build project) takes 2 min, 17 sec.

Doing the same in 2024.2.1, the build takes 11 min, 3 sec.

(side question: This is a maven project, so we usually build it via the maven tab, but apparently to start the project it is still required that IntelliJ "builds" the project although it has just been built via maven…is there a way to skip this?..)

Then, starting the app via runtime configuration (Tomcat 10 server), in version 2024.1.6 takes ~ 13 sec.

In 2024.2.1, the start process hangs at “copying resources” for a module, and never actually starts (or at least, I never waited long enough…).

Comparing compiler settings, I could not find any differences between the versions. Are the any other settings I could check? Are there any known problems with the build system in 2024.2?

1
35 comments

Mdebeljuh Thank you for sharing the thread dump!

Could you please check if the issue persists with IDEA 2024.3?

If it does, could you please share the logs as described in my previous message?

0

I've been facing this issue with IntelliJ 2024.3 and 2025.1. This is on a Mac. Builds used to be quite fast, but then suddenly degraded to the point where what used to take seconds now takes > 30 minutes.

I've uploaded the JPS build log here: Upload id: 2025_02_07_ZxJAKCcFsTkaFHuY5e8s3Z (file: fine-build.log). In the progress bar, I see it basically stuck on “Updating dependency information…”

0

Vsiva Thank you for reporting this!

I'm definitely seeing the issues in the log you've shared and am looking into them.

Could you please share the all the logs IDEA has generated (Help → Collect Logs and Diagnostic Data), so we can see the full picture?

Does the issue affect all Projects in your environment or only specific one(s)?

Were there any changes to the environment around the time you've noticed the performance degradation (i. e. IDEA / IDEA Plugins updates, OS updates, third-party software installations)?

0

Apologies, I couldn't work any longer in that setup, so I ended up restarting from scratch (deleted my source checkout, intellij caches/config folders/logs etc). I no longer have the issue, but unfortunately, I can't give any useful logs anymore.

> Does the issue affect all Projects in your environment or only specific one(s)?

I was mostly working in 1 large project (Android Studio sources).

> Were there any changes to the environment around the time you've noticed the performance degradation (i. e. IDEA / IDEA Plugins updates, OS updates, third-party software installations)?

I don't recall any system changes, but I suspect the following: My source code was inside a case sensitive file system inside a disk image which was running low on space.

0

Vsiva Thank you for the update, this is very much understandable!

This, unfortunately, also makes it challenging to investigate the issue further.

Let keep monitoring the situation - let me know if the issue comes back at any point.

0

Please sign in to leave a comment.