https://kotlinlang.org logo
Title
j

jlleitschuh

01/28/2019, 7:26 PM
I have a fairly large multi-project (~ 70 projects) Kotlin and Gradle Kotlin DSL based project. I just updated to Kotlin
1.3.20
and now I'm getting
java.lang.OutOfMemoryError: Metaspace
exceptions from the Koltin compiler. I'm also using the
kotlin.parallel.tasks.in.project=true
flag. Is this a known issue & is there a workaround?
🤩 1
l

louiscad

01/28/2019, 7:43 PM
@jlleitschuh Yes, revert to 1.3.11 until 1.3.21 fixes it
j

jlleitschuh

01/28/2019, 7:44 PM
Is there a youtrack issue?
l

louiscad

01/28/2019, 7:47 PM
@jlleitschuh You can find what is planned to be fixed in 1.3.21 there (look at the search query): https://youtrack.jetbrains.com/issues/KT?q=Target%20versions:%201.3.21%20 There's only three marked as critical (the red
C
), one mentioning
*.gradle.kts
g

gildor

01/30/2019, 1:50 AM
Yes, revert to 1.3.11 until 1.3.21 fixes it
May be just disable
kotlin.parallel.tasks.in.project
?