api / org.gradle.process / JavaForkOptions / setMaxHeapSize

setMaxHeapSize

abstract fun setMaxHeapSize(heapSize: String): Unit

Sets the maximum heap size for the process.

Parameters

heapSize - The heap size. Use null for the default maximum heap size.