github / github/codeql

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

オープン
#19,374 コメント 6 件 リアクション 0 件 担当者 0 名 GitHub で見る
question
主要言語
CodeQL
スター
10.1k
フォーク
2.1k
平均マージ
2日 15時間
マージ済み PR(30日)
141

説明

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

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
github-actions, kotlin
領域
build-system, ci-cd
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。