elihart
11/09/2023, 6:33 PMTing-Yuan Huang
11/09/2023, 7:00 PMelihart
11/09/2023, 7:03 PMTing-Yuan Huang
11/09/2023, 7:05 PMelihart
11/09/2023, 7:12 PMTing-Yuan Huang
11/09/2023, 10:14 PMelihart
11/10/2023, 9:26 PMTing-Yuan Huang
11/10/2023, 9:45 PMelihart
11/10/2023, 9:54 PMkaeawc
11/11/2023, 1:17 AMelihart
11/13/2023, 5:55 PM-Dorg.gradle.jvmargs="-Xmx30720m -Xss8m -Dkotlin.daemon.jvmargs=Xmx49830m -XX:SoftRefLRUPolicyMSPerMB=0 -XX:+UseG1GC -XX:+UnlockExperimentalVMOptions -XX:G1NewSizePercent=67 -XX:G1MaxNewSizePercent=67 -XX:MaxMetaspaceSize=8192m -XX:ReservedCodeCacheSize=128m"
for lint we give more heap to the gradle daemon than kotlin daemon.
I’m not familiar at all with the memory waste you mentioned due to non compressed memory, but if we do less memory we get OOMs and daemons randomly dying; 12gb wouldn’t work at all for us. We have a lot of code unfortunately.
We’re on jdk 17, but hopefully will be on 21 before long. I’ll read up on the settings you suggested 🙏kaeawc
11/13/2023, 6:15 PM1
over 0
elihart
11/13/2023, 6:21 PMXX:MaxMetaspaceSize=8192m
doing that already, right?kaeawc
11/13/2023, 6:21 PMelihart
11/13/2023, 6:22 PMkaeawc
11/13/2023, 6:23 PMelihart
11/13/2023, 6:25 PMkaeawc
11/13/2023, 6:32 PMhttps://github.com/gradle/gcc2speedscope/blob/master/speedscope.png▾
jcmp
output to internal observability tooling would be bestelihart
11/13/2023, 6:35 PM