-
Notifications
You must be signed in to change notification settings - Fork 393
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GitHub Actions for dokkaMultiModuleHtml times out (6+ hours) #2255
Comments
Based on these lines in the log, maybe gradle ran out of memory? I've seen dokka crash on my local machine because it ran out of memory
|
Increasing gradle's memory fixed the issue: gradle.properties kotlin.code.style=official
org.gradle.jvmargs=-Xms2g |
Leaving this open as a bug because no useful error message was outputted. Maybe add a logging message that suggests increasing gradle JVM memory? |
This is a known bug #1405 that will be fixed soon. |
Hi @TheNewJavaman, have you migrated to 1.7.20 Dokka? If so, could you please check if the issue still exists? We have done some optimisations in memory consumption. |
@yalishevant I no longer work on the project that used Dokka, so I'm not sure if I'll have time to go back and test this. If verifying the fix is important to you, please feel free to fork github.com/TheNewJavaman/brac-kt, remove |
I've forked the project and migrated it to Dokka 1.7.20. The relevant GitHub action still fails/hangs on the default Gradle memory settings. But more performance improvements will arrive in the 1.8.0 release: #2678 |
Describe the bug
Generating docs through GitHub Actions doesn't finish for a multimodule multiplatform gradle project
Affected repository
Expected behaviour
I used the exact same steps on my local machine, and dokka generates html docs correctly
Screenshots
Logs
To Reproduce
To reproduce, fork the linked repository from above and run the docs workflow
Dokka configuration
Parent project build.gradle.kts
Child project 1
Child project 2
GitHub Actions script
Additional context
I can give access to this project's actions if you would like, just comment that you need access.
Are you willing to provide a PR?
I don't know what's causing the issue
The text was updated successfully, but these errors were encountered: