api / org.gradle.api.tasks.compile / BaseForkOptions / setMemoryMaximumSize

setMemoryMaximumSize

open fun setMemoryMaximumSize(memoryMaximumSize: String): Unit

Sets the maximum heap size for the compiler process. Defaults to null, in which case the JVM's default will be used.