api / org.gradle.process / JavaForkOptions / getMaxHeapSize

getMaxHeapSize

@Optional @Input abstract fun getMaxHeapSize(): String

Returns the maximum heap size for the process, if any.

Return
The maximum heap size. Returns null if the default maximum heap size should be used.