[JAVA] [GRADLE] OOM Issue with GitHub Autobuilder for Kotlin
- Dominant language
- CodeQL
- Stars
- 10.1k
- Forks
- 2.1k
- Avg merge
- 2d 15h
- Merged PRs (30d)
- 141
Description
**Description of the issue**
Currently getting an OOM error with the CodeQL Autobuilder when attempting to compile Kotlin.
https://github.com/JLLeitschuh/ktlint-gradle/actions/runs/14649396135/job/41111305233?pr=861#step:5:121
https://github.com/JLLeitschuh/ktlint-gradle/pull/861
Build Scan: https://scans.gradle.com/s/mfzgqpzmjgq6q
The stack trace error is too long for a GitHub issue, so I've attached it here. It looks like the code injected inside the compiler is leading to an OOM in the JetBrains Kotlin compiler
[logs_37644012249.zip](https://github.com/user-attachments/files/19897930/logs_37644012249.zip)
Contributor guide
Research direction
Start with the linked GitHub Actions job for PR #861, then inspect the attached logs and Gradle Build Scan to identify where the CodeQL Autobuilder triggers the Kotlin compiler OOM. Reproduce the build if possible and define done as a successful Kotlin autobuild without the out-of-memory failure.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- github-actions, kotlin
- Domain
- build-system, ci-cd
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100