Set heap size for gradle worker processes


(Sudarshan) #1

Hi,

For parallel builds we set the number of workers to 4.
The worker processes are created with max heap size = 2g
I observed that they hardly ever use 1g each.
Is it possible to set heap sizes on those workers?

I found an old post regarding this but that approach doesn’t seem suitable.

Thanks.