redhat-developer / redhat-developer/vscode-java
Out of memory error - likely memory leak?
Nobody has claimed this yet.
- 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
- Clone Movecraft
- Open in VS Code with the project
Current Result
Project does not load.
Expected Result
Project loads.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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