Open ecopoesis opened 2 days ago
Hi, thanks for the report.
Just to double check, are the memory settings only configured in the root build.gradle.kts
, or for all projects in the Dokka convention plugin? Dokka config defined in the root build script isn't shared with subprojects, and must be configured per-project with the convention plugin.
Describe the bug Using
2.0.0-Beta
on a large multi-module project, I get OOMs when running./gradlew dokkaGenerate
. To attempt to fix this, I've tried adding the following section to my top levelbuild.gradle.kts
:I've also tried with explicit
set
s:I'm still getting OOMs because Gradle workers are launched with
-Xmx512m
. Fromps
:I usually see 10 versions of these. Gradle is running with 12 parallel tasks.
Expected behaviour Workers should launch with
Xms4g -Xmx8g
To Reproduce
Use the above dokka config in a Gradle multimodule project.
Dokka configuration Configuration of dokka used to reproduce the bug
Submodules are getting the Dokka plugin via a convention plugin:
Dokka related config in root
build.gradle.kts
:gradle.properties
:Installation