Android Gradle: What is javaMaxHeapSize “4g”?
As it mentioned in the answer above, it is just an option to specify the maximum memory allocation pool for a Java Virtual Machine (JVM) for dex operation. And it’s the same, as to provide to java the -xmx argument. Due to it’s source codes from here, it’s setter look like: if (theJavaMaxHeapSize.matches(“\\d+[kKmMgGtT]?”)) { javaMaxHeapSize … Read more