redhat-developer / redhat-developer/vscode-java
Repeated out of memory error (Extension: Language Support for Java - Red Hat)
还没有人认领这个 Issue。
- 主要语言
- TypeScript
- 星标
- 2.3k
- 派生
- 546
- 平均合并
- 20 小时 1 分钟
- 30 天内合并 PR
- 11
描述
Extension: Language Support for Java (Red Hat)
OS: Ubuntu Linux
The extension tells me again that it runs out of memory. This is quite strange as I am developing a very small Java Module here and it already has increased the memory limit. It had been increased to 2G and now it has been increased to 4G by some kind of logic trying to compensate.
There seems to be a fundamental flaw in the Language Server, if 4 GByte of memory is required for something little as developing a small Java package.
Bug No. 1: The memory issue (see above).
Bug No. 2: To have to restart the whole VSCode IDE in order to compensate for this.
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先,在报告的小型 Java 模块中使用 Language Support for Java 扩展,重现 Ubuntu 上反复出现的内存不足故障,并比较 2 GB 和 4 GB 的限制。跟踪扩展或 language server 的内存行为,以及需要重启 VS Code 的情况;当报告的两个故障都具有经过验证的原因和记录在案的解决方案时,该 issue 即完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- java, typescript, vscode
- 领域
- developer-experience, devtools
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 20/100