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.

getMaxHeapSize

@Nullable
abstract fun getMaxHeapSize(): @Nullable String(source)

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.

Since

0.9