https://kotlinlang.org logo
#announcements
Title
# announcements
z

Zimri Leisher

01/17/2021, 2:37 AM
on a very simple program, gradle is getting stuck on every step and working very slowly: compiling kotlin, building, even running the main function. and when i call readLine(), the delay between me pressing enter andthe line being read is like 30 seconds
the computer is otherwise fine, nothing else is occupying cpu
and memory is less than half used
the gradle classes task takes a minute even with no change to the code at all and 1 total class
i restarted computer, and changed the shared heap size to like 4 gbs
a

Alexey Belkov [JB]

01/18/2021, 11:33 AM
Do you use both Gradle and IDE Kotlin plugin 1.4.21? Do you compile from CLI or in IDEA?
z

Zimri Leisher

01/20/2021, 5:58 AM
I initially was compiling with gradle and ide kotlin plugin
but i tried with IDEA and it works fast
4 Views