File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed
gradle-conventions/src/main/kotlin Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -37,6 +37,13 @@ dokka {
3737 suppressObviousFunctions = true
3838 failOnWarning = true
3939 }
40+
41+ dokkaGeneratorIsolation = ProcessIsolation {
42+ // Configures heap size
43+ maxHeapSize = " 6g"
44+ }
45+
46+ dokkaGeneratorIsolation = ClassLoaderIsolation ()
4047}
4148
4249dependencies {
Original file line number Diff line number Diff line change @@ -6,10 +6,10 @@ kotlin.code.style=official
66
77kotlin.native.ignoreDisabledTargets =true
88
9- kotlin.daemon.jvmargs =-Xmx6g -XX:+HeapDumpOnOutOfMemoryError
9+ kotlin.daemon.jvmargs =-Xmx8g -XX:+HeapDumpOnOutOfMemoryError
1010kotlin.daemon.useFallbackStrategy =false
1111
12- org.gradle.jvmargs =-Xmx6g -XX:+HeapDumpOnOutOfMemoryError -XX:+UseParallelGC -XX:MaxMetaspaceSize=768m
12+ org.gradle.jvmargs =-Xmx8g -XX:+HeapDumpOnOutOfMemoryError -XX:+UseParallelGC -XX:MaxMetaspaceSize=768m
1313org.gradle.daemon =true
1414org.gradle.parallel =true
1515org.gradle.workers.max =8
You can’t perform that action at this time.
0 commit comments