eygraber
07/30/2021, 9:59 PMkotlin.daemon.jvm.options
to 12g and now I'm intermittently getting this warning multiple times in my builds (and my builds are going apprx 3-4x slower). The build still completes successfully:
Could not connect to Kotlin compile daemon
Could not connect to kotlin daemon. Using fallback strategy.
tapchicoma
08/01/2021, 9:04 AM12g
is quite high for Kotlin daemon 🤔
How many modules your project has?eygraber
08/01/2021, 6:22 PMeygraber
08/01/2021, 6:23 PM12g
because Android lint is very memory hungry.tapchicoma
08/01/2021, 8:15 PMXmx
only when you are running lint task.
Do you such log on your CI or also when developing locally?tapchicoma
08/01/2021, 8:21 PMeygraber
08/01/2021, 10:19 PM12g
on our CI machine for jobs that use lint, and that's where we experience the issue.eygraber
08/01/2021, 10:21 PMgradle -Dorg.gradle.jvmargs="-Xmx12g -XX:ReservedCodeCacheSize=240m -XX:+UseCompressedOops -XX:+UseParallelGC -XX:MetaspaceSize=256m -Dfile.encoding=UTF-8" -Dkotlin.daemon.jvm.options="-Xmx12g -XX:ReservedCodeCacheSize=240m -XX:+UseCompressedOops -XX:+UseParallelGC -XX:MetaspaceSize=256m -Dfile.encoding=UTF-8" :app:lintDevRelease testDevRelease -Pkotlin.incremental=false --scan --no-daemon
eygraber
08/01/2021, 11:04 PMeygraber
08/01/2021, 11:06 PMeygraber
08/01/2021, 11:11 PMThe build scan publishing request was rejected as the data exceeded the maximum size.
tapchicoma
08/02/2021, 8:00 AMjps -v
) - are they the same? 🤔Alexander.Likhachev
08/02/2021, 10:32 AMkotlin.daemon.jvm.options
as comma-separated list, not whitespace-separated. It should be clarified in docs but at the moment it isn’ttapchicoma
08/02/2021, 10:35 AM1.5.30
release will have better ways to provide jvm args to daemoneygraber
08/02/2021, 2:10 PM-Xmx12g, -XX:ReservedCodeCaheSize=240M, -XX:UseCompressedOops, ...
Is this specific to kotlin.daemon.jvm.options
or does org.gradle.jvmargs
also need to be comma separated?tapchicoma
08/02/2021, 2:11 PMtapchicoma
09/21/2021, 8:22 AMdsvoronin
09/21/2021, 8:23 AMorg.gradle.workers.max
tapchicoma
09/21/2021, 8:24 AM/tmp
) - could you check the logs for reasons why it may die?tapchicoma
09/21/2021, 8:25 AMdsvoronin
09/21/2021, 8:26 AMdsvoronin
09/21/2021, 8:27 AMtapchicoma
09/21/2021, 8:29 AMdsvoronin
09/21/2021, 8:29 AMdsvoronin
09/21/2021, 8:30 AMtapchicoma
09/21/2021, 8:31 AMdsvoronin
09/21/2021, 8:52 AM