Skip to content

Commit

Permalink
Fix dokkaGeneratorIsolation KDoc (#3921)
Browse files Browse the repository at this point in the history
* Fix dokkaGeneratorIsolation KDoc

* demonstrate maxHeapSize instead of minHeapSize

Modifying the max heap size is more common than the min
  • Loading branch information
adam-enko authored Nov 14, 2024
1 parent 15986f6 commit 28783b3
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -255,11 +255,11 @@ constructor(
* ```kotlin
* dokka {
* // use the current Gradle process, but with an isolated classpath
* workerIsolation = ClassLoaderIsolation()
* dokkaGeneratorIsolation = ClassLoaderIsolation()
*
* // launch a new process, optionally controlling the standard JVM options
* workerIsolation = ProcessIsolation {
* minHeapSize = "2g" // increase minimum heap size
* dokkaGeneratorIsolation = ProcessIsolation {
* maxHeapSize = "2g" // increase maximum heap size
* systemProperties.add("someCustomProperty", 123)
* }
* }
Expand Down

0 comments on commit 28783b3

Please sign in to comment.