top | item 36877816

(no title)

w23j | 2 years ago

My problem with IntelliJ (which I used to love), is that with each release it becomes slower and slower, while adding a bunch of features that, following the law of diminishing marginal utility, by now have negligible utility.

The time it takes to start a Java program in a Maven project is excruciating. And for unit tests or small utilities that's something I need to do countless times a day. While some random code analysis feature really is maybe helpful once a year. I actually reverted back from the last release because it got so bad.

Am I the only one with this problem? Has anybody found a solution for it?

discuss

order

dangets|2 years ago

I've seen it alternate between releases. It gets slower for a release or two as they add features and then another release adds several performance improvements (and it is noticeable).

I was also initially very skeptical of the new UI, thinking it was purely a VSCode imitation that would remove power tools, but after using it for a few days I was converted - all of the power I used was still there, but now with a simpler and more efficient view (less clicks to find what I want, etc.).

hugi|2 years ago

I switch between IntelliJ and Eclipse during my daily workflow and IntelliJ always feels like an absolute hog. And I do feel like it's been getting worse with the later releases.

ta988|2 years ago

I haven't had that impression at all. It used to stall and block all the time a couple years back and now it is all fluid even while indexing. But I'm using gradle not maven so that may be the difference.

rickreynoldssf|2 years ago

I have noticed this problem. The latest release is actually unusable for me. The whole IDE stalls every few seconds for no reason, with no visible CPU spike. Oh and it totally blew away all my toolbars and reset my style config irrevocably.

JetBrains IDEs have this problem all the time and its not consistent across all platforms. i.e. some people see it, some don't.

At this point I wish I could switch off JetBrains but I'm so familiar with it and using VS Code my productivity just screeches to a halt.

jayski|2 years ago

it's always tough to switch IDEs but if you just bite the bullet and do it, you can have everything configured exactly like you like it~ 3 days.

I've gone through this process from vim > eclipse > komodo > atom > vscode

pletnes|2 years ago

I always found the mac and linux versions to be way faster than the windows one, for various Jetbrains IDEs. I have the impression that windows + antivirus + jetbrains is generally quite awful in terms of performance.

hadrien01|2 years ago

Jetbrains Rider has a post-installation screen that asks you if it can configure Windows Defender exceptions for itself. It seems to really improve performance on my personal computer. On my work computer I have Symantec Endpoint Protection and Tanium, and the IDE is way slower (on equivalent hardware).

hugi|2 years ago

Can't speak for the other platforms, but I work on an M1 Mac and using IntelliJ feels like trying to move while submerged in a barrel of syrup.

hahn-kev|2 years ago

Interesting, I wonder how it does in WSL?

moribvndvs|2 years ago

This is a phenomenon that I’ve consistently had across multiple JetBrains products going back to ReSharper. The functionality was powerful enough to keep using, but each release was incrementally slower and buggier. At least then I could simply choose to disable problematic features that I used irregularly or even just shut off the plug-in if I needed to.

Now that I work primarily on Java and Kotlin projects, I’m using IntelliJ, where the entire IDE is subject to the JetBrains effect. The only tactics that keep me productive is to significantly delay updates, keep plugins to a bare minimum (the fact it is not very rare for plug-in updates to brick your environment is really frustrating), a losing battle of identifying and disabling unnecessary functionality, throwing more hardware at it, or restructure large projects into smaller bits and import as modules. Rapidly approaching the point of it not being worth it, but I hate pretty much all the Java IDEs I’ve tried.

zelos|2 years ago

It's painfully slow. Even typing latency seems to be getting worse.

kaba0|2 years ago

I honestly don’t see it at all. It is RAM-hungry, but that is quite inherent with any sort of tool that has to do various fast lookups in large repositories — that has to be stored in-memory, regardless of programming language.

But if you do give it like 2GB of RAM at the least, it is very smooth (unfortunately it used to have a very low max memory setting for a long time). Java is good at handling dynamic loading, you don’t really pay for any feature you don’t use, they don’t even get class loaded.

troupo|2 years ago

I think they've waited too long with a re-write, since so much of what they have in the IDE is legacy, and early decisions, and custom solutions, and...

And the new re-write they started looks like it isn't because they really wanted to do it, but because they felt a pressure to do something about VS Code: https://www.jetbrains.com/fleet/

AtlasBarfed|2 years ago

Sometimes that comes from the fact that a long running project gets bigger and bigger. So your upgrades may coincide with expanding projects.

At least for groovy dev (IntelliJ is basically the only IDE you can use for groovy functionally AFAIK), it starts to really slow down once I get to 50-100 classes, and starts to trend to unusability. There's definitely a nonlinear growth in the impact of more code.

So I need to split my projects into sub-jars, a bit of a PITA.

Idiot_in_Vain|2 years ago

I'm only using Java and IntelliJ occasionally, but haven't noticed any slowdowns. Wonder if people who complain just have slow PCs or Macs.

twh270|2 years ago

Or large projects. It's been several years now, but IntelliJ could be a real tortoise when I was working in a medium-sized monolith Java/Spring project with ~20 Gradle subprojects.

pulse7|2 years ago

I know Eclipse may be dated, but this is the main reason why I like to use it: it compiles a file when I save it. Java program then starts instantly - because it is already compiled - regardless of it's size... But I think you can also configure IntelliJ IDEA to compile on save and even use Eclipse compiler so you can compile and start programs with compile errors...

andylynch|2 years ago

Yes you can and they recommend this - the exception is if your use a complex Maven / Gradle build you might have to have it delegate to these.

cosmotic|2 years ago

I'm extremely sensitive to latency and slowdowns and I haven't noticed this problem. You might consider opening a support ticket or filing a bug. They can help walk you through uploading logs and profiling snapshots.

putnambr|2 years ago

I've only ever had this issue when using third-party syntax or bracket highlighters. Maven indexing, code analysis is blazingly fast.

mike_hearn|2 years ago

It's not that slow for me, but there's quite a lot of evidence that it depends a lot on your hardware and screen. Intel Macbooks are notorious for overheating if connected to a large / hi-res enough display which then causes CPU throttling of the entire machine.

As for starting a Java program in a Maven project - are you sure that's IDE overhead or is it also slow from the CLI?

markdog12|2 years ago

It has always been very slow to me, very frustrating software to use.