redhat-developer / redhat-developer/vscode-java

Out of memory error - likely memory leak?

オープン
#2,860 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

bug ls-error/crash
主要言語
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
  1. Clone Movecraft
  2. Open in VS Code with the project
Current Result

Project does not load.

Expected Result

Project loads.

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

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

調査の方向性

Movecraft をクローンし、JDK 17 を使用して Windows 上の VS Code で開いて再現し、その後、読み込みがどこで停止するかを確認して out-of-memory エラーの詳細を記録します。まず、リンクされている collections ディレクトリと hitboxes ディレクトリを調査します。プロジェクトが利用可能なメモリを使い果たすことなく正常に読み込まれれば完了です。

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

評価

技術スタック
java, vscode
領域
devtools
issue の種類
バグ
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
20/100

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

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