Slackbot
02/06/2024, 1:25 PMadam
02/07/2024, 7:32 PMgradle-profiler
to benchmark with a few different memory settings and see what the result it.
Or, you could potentially profile your build using gradle-profiler
to get a rough idea where the garbage is being generated.