Hi everyone! 👋
Anyone else experiencing slow Kotlin code analysis in IntelliJ with mixed Java/
Kotlin projects? Error highlighting and warnings are taking forever to appear
specifically for Kotlin files, making development pretty sluggish. Java analysis
works fine.
Current setup:
• IntelliJ IDEA Ultimate 2025.2.1
• macOS 15.6.1 (Sequoia)
• Apple M1, 16GB RAM, SSD storage
• Java 21, Kotlin 2.2.20
• Mixed Java/Kotlin projects (Spring Boot + Maven)
Already tried:
• Increased heap to 8GB (-Xmx8g)
• Enabled incremental compilation for Kotlin
• Invalidated caches
• Set Maven to use IntelliJ for build/run
• Excluded build directories from indexing
Still seeing delays for Kotlin code analysis to complete after
typing or copy/paste. Any other optimization tricks or specific settings that helped you
speed things up?
Thanks! 🚀