github / github/codeql

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

Ouverte
#19,374 6 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
question
Langage dominant
CodeQL
Étoiles
10.1k
Forks
2.1k
Merge moyen
2 j 15 h
PR mergées (30 j)
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)

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
github-actions, kotlin
Domaine
build-system, ci-cd
Type d'issue
Bug
Difficulté
4/5
Temps estimé
3-5 jours
Activité
À l'abandon
Clarté
À clarifier
Accessibilité débutants
25/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.