redhat-developer / redhat-developer/vscode-java
Out of memory error - likely memory leak?
まだ誰も着手していません。
- 主要言語
- TypeScript
- スター
- 2.3k
- フォーク
- 546
- 平均マージ
- 20時間 1分
- マージ済み PR(30日)
- 11
説明
When opening the Movecraft project in VS Code, I get out of memory errors and it never finishes loading. I've increased the allowed memory up to 28GB and continue to have the issue. The farthest I've seen it get in the build status is [222/1000]. I think it is getting stuck somewhere in our collections or hitboxes, but I've not yet had time to narrow down what specifically is the problem.
Environment
- Operating System: Windows 11 (and Windows 10)
- JDK version: 17
- Visual Studio Code version: 1.74.2, but I've been having the issue for over a year.
- Java extension version: 1.13.0, but I've been having the issue for over a year.
Steps To Reproduce
- Clone Movecraft
- Open in VS Code with the project
Current Result
Project does not load.
Expected Result
Project loads.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
Movecraft をクローンし、JDK 17 を使用して Windows 上の VS Code で開いて再現し、その後、読み込みがどこで停止するかを確認して out-of-memory エラーの詳細を記録します。まず、リンクされている collections ディレクトリと hitboxes ディレクトリを調査します。プロジェクトが利用可能なメモリを使い果たすことなく正常に読み込まれれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- java, vscode
- 領域
- devtools
- issue の種類
- バグ
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 20/100