https://kotlinlang.org logo
Title
y

yogurtearl

08/01/2018, 11:48 PM
@yan any specific reason for choosing
IsolationMode.PROCESS
? Maybe could have a flag to use
IsolationMode.NONE
?
👍 1
y

yan

08/21/2018, 3:03 AM
This is intended.
Poorly written annotation processors leak Javac contexts that can be up to 200M. We can hardly do anything with it except running annotation processing in the new process every time (it’s not that expensive according to the internal experiments). Annotation processors that are good enough basically don’t require to run kapt with
kapt.use.worker.api=true
.