what are the levers we have in terms of how much m...
# kapt
s
what are the levers we have in terms of how much memory is available to kapt? is it just the kotlin compiler daemon memory params?
by that i mean
kotlin.daemon.jvm.options
based on this issue it seems like there is maybe no way to configure kapt memory options? https://youtrack.jetbrains.com/issue/KT-45757/Add-an-easier-way-to-explicitly-set-Kotlin-daemon-jvm-arguments
t
kaptGenerateStubs are running via Kotlin daemon - so Kotlin jvm options should affect it as well Kapt runs separately via Gradle worker. In this case you may try using
org.jetbrains.kotlin.gradle.internal.KaptWithoutKotlincTask.kaptProcessJvmArgs
task input to configure memory constraints for worker
s
awesome, thank you
@tapchicoma if you are running with
--no-daemon
does any of that change?
t
no