Reduce gradle memory