From 5c58d3c0b2f6f62217da65eec35b3892ba0e1fa9 Mon Sep 17 00:00:00 2001 From: Adam <152864218+adam-enko@users.noreply.github.com> Date: Thu, 14 Nov 2024 17:19:42 +0100 Subject: [PATCH] demonstrate maxHeapSize instead of minHeapSize Modifying the max heap size is more common than the min --- .../dokka-gradle-plugin/src/main/kotlin/DokkaExtension.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dokka-runners/dokka-gradle-plugin/src/main/kotlin/DokkaExtension.kt b/dokka-runners/dokka-gradle-plugin/src/main/kotlin/DokkaExtension.kt index b9967b82fe..8d0d12e53a 100644 --- a/dokka-runners/dokka-gradle-plugin/src/main/kotlin/DokkaExtension.kt +++ b/dokka-runners/dokka-gradle-plugin/src/main/kotlin/DokkaExtension.kt @@ -259,7 +259,7 @@ constructor( * * // launch a new process, optionally controlling the standard JVM options * dokkaGeneratorIsolation = ProcessIsolation { - * minHeapSize = "2g" // increase minimum heap size + * maxHeapSize = "2g" // increase maximum heap size * systemProperties.add("someCustomProperty", 123) * } * }