Gradle Kotlin daemon infinite loop until JVM max memory runs out
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 25/100
- issue の種類
- バグ
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- android, docker, gitlab, kotlin, react-native
- 領域
- build-system, ci-cd, devops
調査の方向性
Start with the linked job.log and the GitLab CI/CD pipeline environment for the react-nativecommunity/react-native-android image. Focus on the ./gradlew bundleRelease entry point and the :react-native-gradle-plugin:compileKotlin task, comparing runs with and without diagnostic options. Done means identifying a reproducible cause or a concrete fix for the Kotlin daemon loop and memory exhaustion.
索引モデルが issue の本文から書いたものです。
説明
Hello, thank you react native community for supporting this Docker image!
Issue Environment:
- Runtime:
GitLab CI/CD Pipeline Job - Image:
reactnativecommunity/react-native-android:latest(also tried6.0and5.4) - Gradle:
7.5.1 - Android SDK Level:
31 - jvmargs:
-Xmx16g -Xms2g \ -XX\:MetaspaceSize\=512m -XX\:MaxMetaspaceSize\=1g \ -XX\:NewSize\=256m -XX\:MaxNewSize\=3g \ -Dfile.encoding\=UTF-8 - Dependencies:
node_modulesis downloaded from previous job which contains the necessary react native modules
Issue Description:
When attempting to run ./gradlew bundleRelease the Gradle daemon starts as expected but on the first task :react-native-gradle-plugin:compileKotlin causes an infinite loop with the Gradle kotlin daemon. When running with no options, the daemon runs out of memory (15.7GiB) and closes at about 15 minutes of running. With info or debug/stacktrace option, daemon runs out of memory and closes at about 45 minutes of running.
Issue Reproduction:
I cannot reproduce this issue locally, only in the pipeline pod which uses this Docker image. Please look through the debug/stacktrace log dump below.
Issue Logs:
job.log
I am grateful for any expert to provide a diagnosis on what could be causing this!
- 主要言語
- Dockerfile
- スター
- 540
- フォーク
- 153
- 平均マージ
- 7時間 6分
- マージ済み PR(30日)
- 3
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
react-native-community/docker-android のほかの issue
-
難易度 1/5 1〜3時間 初心者へのやさしさ 70/100
react-native-community/docker-android#250 · コメント 1 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 45/100
react-native-community/docker-android#219 · コメント 5 件 · リアクション 3 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 30/100
react-native-community/docker-android#215 · コメント 5 件 · リアクション 3 件 ·
-
Support arm64 Architecture再び着手できるかも このイシューのプルリクエストはマージされずにクローズされました。 オープン
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
react-native-community/docker-android#166 · コメント 12 件 · リアクション 13 件 ·
react-native-community/docker-android の issue をすべて見る
似ている issue
-
PacReq: mangowcオープンpackage request
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
pacstall/pacstall-programs#9475 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 71/100
yjh051108/dsh-routing-suite#227 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
JoviDeCroock/pracht#432 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
munich-quantum-toolkit/workflows#492 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信