github / github/codeql

[JAVA] [GRADLE] OOM Issue with GitHub Autobuilder for Kotlin

Offen
#19,374 6 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
question
Vorherrschende Sprache
CodeQL
Sterne
10.1k
Forks
2.1k
Ø Merge
2 T. 15 Std.
Gemergte PRs (30 T.)
141

Beschreibung

**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)

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
github-actions, kotlin
Bereich
build-system, ci-cd
Issue-Typ
Bug
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
25/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.