For AI agents: the documentation index is at https://docs.gradle.org/llms.txt. Request any page with the header Accept: text/markdown to get Markdown. User manual pages are also available as Markdown by replacing .html with .md in the URL.

setMinHeapSize

abstract fun setMinHeapSize(@Nullable heapSize: @Nullable String)(source)

Sets the minimum heap size for the process. Supports the units megabytes (e.g. "512m") and gigabytes (e.g. "1g").

Since

1.0

Parameters

heapSize

The minimum heap size. Use null for the default minimum heap size.