redhat-developer / redhat-developer/vscode-java
Out of memory error - likely memory leak?
未关闭
还没有人认领这个 Issue。
bug
ls-error/crash
- 主要语言
- TypeScript
- 星标
- 2.3k
- 派生
- 546
- 平均合并
- 20 小时 1 分钟
- 30 天内合并 PR
- 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 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
通过克隆 Movecraft 并在装有 JDK 17 的 Windows 上使用 VS Code 打开它来重现,然后观察加载在何处停止并记录 out-of-memory 错误的详细信息。首先检查链接的 collections 和 hitboxes 目录;当项目成功加载且未耗尽可用内存时即表示完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- java, vscode
- 领域
- devtools
- Issue 类型
- 缺陷
- 难度
- 5/5
- 预计耗时
- 一周以上
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 20/100