Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

:maddi-inspection-kotlin:test runs out of heap in a full maddi test run; exit 1 with no failing test

オープン 初心者向け
#138 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
62/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
java, kotlin

調査の方向性

maddi-inspection-kotlin/build.gradle.kts から始めてください。ここでは test タスクに jvmArgs は設定されていますが maxHeapSize は設定されていません。重いモジュールの test タスクと比較してください。テスト JVM のヒーク使用量を測定しながら ./gradlew :maddi-inspection-kotlin:test を実行し、値を選んでください。モジュールの test タスクがこの測定に基づく明示的な maxHeapSize を設定し、完全な ./gradlew --continue test でヒープ枯渇によってモジュールの結果が失われなくなれば完了です。

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

説明

build/ci front-end:kotlin
What happens

A full ./gradlew --continue test of maddi can exit 1 with no failing test in the reports: the test JVM of :maddi-inspection-kotlin runs out of heap, so that module writes no results and the totals simply come out lower.

Execution failed for task ':maddi-inspection-kotlin:test' (registered by plugin 'org.gradle.jvm-test-suite').
> Test process encountered an unexpected problem.
   > Could not complete execution for Gradle Test Executor 21.
      > Java heap space

Seen twice on laser1 on 2026-10-15 (lab run --mb 16g, full maddi then maddi-mod test): once at 2638 tests, once at 2648 (maddi at 444789a5b). Rerun alone, :maddi-inspection-kotlin:test passes: 30 tests, 0 failures.

Why it matters

A reader who sums the test reports sees "0 failures" and a green-looking run; only the exit code and the lower test count tell otherwise.

Likely fix

maddi-inspection-kotlin/build.gradle.kts sets jvmArgs but no maxHeapSize, so the test JVM gets Gradle's default (512m) while K2 and javac share it. Give the test task an explicit maxHeapSize, as the heavier modules do, sized from a measured peak. Not verified which test reaches the limit.

主要言語
Java
スター
1
フォーク
1
平均マージ
2時間 22分
マージ済み PR(30日)
4

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

CodeLaser/maddi のほかの issue

CodeLaser/maddi の issue をすべて見る

似ている issue

Java の issue をもっと見る

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

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