DEV Community

Discussion on: Is your Kotlin compiler slow? Here's a potential fix

Collapse
martinhaeusler profile image
Martin Häusler Author

Glad to help out! It's ridiculous in many ways. It's so hidden and seemingly insignificant, yet has a huge impact. It's unaffected by any gradle setting. It's also unaffected by the Xmx setting of IntelliJ itself. It's not documented prominently anywhere.

That being said, even with enough RAM, the kotlin compiler is unfortunately not among the fastest compilers out there.