following mentions Confetti as example of the issu...
# confetti
j
following mentions Confetti as example of the issue https://touchlab.co/gradle-jvmargs
@mbonnin curious what you think? If correct I guess I should update all the samples I have to use this
I don't see much difference in build time between the 2 but only tried a few things so far
m
We’re at 4g now, right?
j
yeah, following is before/after
Copy code
org.gradle.jvmargs=-Xmx4g -Dkotlin.daemon.jvm.options\="-Xmx2048M"

org.gradle.jvmargs=-Xmx6g -Xms256m -XX:MaxMetaspaceSize=384m -XX:+HeapDumpOnOutOfMemoryError -XX:+UseParallelGC
maybe these have more benefit in CI
m
II tend to only bump this after actively noticing an issue
Trying to keep the RAM inflation under control, FED style 😅
But I guess it doesn’t hurt too much either
j
I think his main point was related to other options there
but, as you say, if it's not broken, no need to fix it 🙂
m
Maybe ParallelGC is faster?
j
I might do some runs in CI later and see if it makes a difference
👍 1