github / github/codeql

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

未關閉
#19,374 6 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
question
主要語言
CodeQL
星號
10.1k
分支
2.1k
平均合併
2 天 15 小時
30 天內合併 PR
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)

貢獻指南

開啟貢獻指南

研究方向

從 PR #861 連結的 GitHub Actions job 開始,然後檢查附加的 logs 和 Gradle Build Scan,以確定 CodeQL Autobuilder 在哪裡觸發 Kotlin compiler OOM。如果可能,重現該 build,並將成功完成且不發生 out-of-memory failure 的 Kotlin autobuild 定義為完成標準。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
github-actions, kotlin
領域
build-system, ci-cd
Issue 類型
缺陷
難度
4/5
預估耗時
3-5 天
活躍度
停滯
描述清晰度
需要釐清
新手友好度
25/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。