What is general requirement of PC to open a large ...
# announcements
a
What is general requirement of PC to open a large project (like Kotlin itself) in Intellij? Seems the intellij is eating so much RAM ~2.8GB but still not able to index anything (only getting purple-white highlighted).
r
I have the same problem. I allocated 4GB memory to it and still it can't figure out anything. it stalls everything. I'm using gradle projects. really frustrating.
c
From what I understand this is a known issue with kotlin that wont be fully resolved until the new frontend compiler is released
🤔 1
a
Any references @Colton Idle? Intermediate Representation seems experimental, would go through alpha-beta-stable, so shouldn't come into stable existence anytime soon...
g
Experimental IR which you talking about is not related on performance on which Colton is talking about, it's BE IR, but performance improvement will be available on Frontend IR
👀 1
Work in progress, and it will be not less than a year until alpha, maybe more
👍 1
a
So syntax highlighting and indexing is limited by the compiler atm 👀
g
2.8 probably is not enough for such project as Kotlin. If never finish indexing, it anyway a bug and worth to report
a
2.8Gigs is taken by Intellij steadily after first minute actually, I waited for about 4 mins 😛 (probably should waited for more). That's why I actually asked for the general approximation that it need to properly highlight things -> For how much should I increase the heap size?
d
For comfortable work with Kotlin project I usually give 8 GB of heap to IDEA. Usually (when everything already indexed and persisted on disk) there are only ~2 GB consumed. But it raises to 5-6 when I open another IDEA window with same project on other branch *I just opened IDE and it consumes only 630 MB. But it's without any actual work today Update: after few hours of work IDEA consumes ~2.5 GB in idle state and ~4.5 GB when running tests
👍 2
☝️ 1