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 摘要。