redhat-developer / redhat-developer/vscode-java

Out of memory error - likely memory leak?

Open
#2,860 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug ls-error/crash
Dominant language
TypeScript
Stars
2.3k
Forks
546
Avg merge
20h 1m
Merged PRs (30d)
11

Description

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.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce by cloning Movecraft and opening it in VS Code on Windows with JDK 17, then observe where loading stops and capture the out-of-memory details. Start by inspecting the linked collections and hitboxes directories; done means the project loads successfully without exhausting the available memory.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, vscode
Domain
devtools
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.