Are there others out there who are really annoyed....
# intellij
t
Are there others out there who are really annoyed... no realley pissed about how incredibly bad the perforamcne of intellij has gotten? The performance is so awful im thinking about replacing kotlin with java again because it feels like im waiting half of the day for intellij indexing things, finding new files to index again in dexing all depencies... and if there is nothing left to index it "organizes imports" or analyzes stuff... and if you make the mistake to restart the idea all that stuff happens again. Really what to do? my company is paying thousands of dollars to jetbrains and that is the performance? really?
yes black 3
also yes 2
today alone im waiting for more then 20 minutes for intellij and im not even working for 2 hours!
c
if your company is paying thousands of dollars you can talk to jetbrains support about your problems.
m
What kind of projects do you have and how large are they? I have projects of varying size and type and no performance issues currently. Just a few reliability issues here and there. You may also try to use the IDE with most plugins disabled and see if it gets better. Maybe one is the curlpit. Sometimes it's a specific setting that has a bug and can cauae performance. The IDE has various tools to help find the cause and support can help here.
its always a good idea to submit an issue about your specific problem.
t
i thibk submitting a support request would be the best... after all that wiating on the ide i really have no time to compose a fully-fleged performacne issue ticket 😕
c
you could file the issue ticket while you wait on the ide 🙂
t
i rather spend my time ranting about my fate :D
bu thanks for your input so far. it helped me calm down a little bit and think about what i really can do 🙂
w
My experience is maybe not that terrible, but also disheartening. IJ + Java is drastically faster, Kotlin ~1.1/1.2 was much faster as well. I don’t have a big project, but now I literally use search+replace instead of refactoring tools because of how long it takes for IDE to perform even simple renames, not to mention some of them actually break the code
And I do report those issues, I understand not all of them can be fixed right away, and that performance is a big focus now. It’s still annoying that we ended up with these issues in the first place though
t
I use IntelliJ all day long on a 7 year old Macbook and a few large projects and I can't say I have any kind of problem. Yes, brining in a new large project can take some time, but generally I find the performance very good. I also dedicate 4G of RAM to it, which I routinely run up against (so I might do more, I dunno).
m
Ah, I remember. The default settings of IDEA are crap. It limits to less than 1 GiB of RAM which made it extremely slow. Mine has a limit of 24 GiB and runs quite well 🙂 It typically uses 2 GiB and rarely goes beyond 5 GiB.
w
Can you please share your vmoptions file? I’d be happy to try tweaking these settings, I give IJ/AS ~3g of memory although I’m not sure if it’s the proper place
m
The only changes I’ve made are these:
Copy code
-Xms2g
-Xmx24g
😳 2
🙏 1
I guess you mean @thana though :D
I use Help -> Edit Custom VM Options…
m
@thana Definitely start by increasing memory allocations. The terrible default settings kills performance for people in odd ways all the time … increasing the default heap size is definitely the right place to start.