java.lang.OutOfMemoryError: Java heap space
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 35/100
- Issue 类型
- 缺陷
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- java, spring, vscode
调研方向
从报告中提到的扩展设置以及 Apache NetBeans Language Server 的启动路径开始。使用较大的 Maven Spring 项目重现堆耗尽问题,然后验证是否可以通过一个有文档说明或可正常工作的设置为服务器增加堆大小。
由索引模型根据 Issue 内容生成。
描述
Apache NetBeans VSCode version
Apache NetBeans VSCode 26
What happened
I uninstalled all Red hat related Java extentions und installed Netbeans Extensions. I want to try to use it, but no project is found or navigating though code also not working. I left my computer, because I though that the workspace is somehow processed. After I came back, I show this error message.
Launching Apache NetBeans Language Server with /usr/lib/jvm/java-21-openjdk and userdir /home/nedy/.config/Code/User/workspaceStorage/ca9462698bc94135ae08ec9c23ef74ae/asf.apache-netbeans-java
Language Client: Starting
LSP server launching: 47896
LSP server user directory: /home/nedy/.config/Code/User/workspaceStorage/ca9462698bc94135ae08ec9c23ef74ae/asf.apache-netbeans-java
Java Debug Server Adapter listening at port 36875
Language Client: Ready
Launch: client OK
java.lang.OutOfMemoryError: Java heap space
Dumping heap to /home/nedy/.config/Code/User/workspaceStorage/ca9462698bc94135ae08ec9c23ef74ae/asf.apache-netbeans-java/userdir/var/log/heapdump.hprof ...
Heap dump file created [1282069728 bytes in 2,040 secs]
I know there are some VM options available in the settings, but I think these are for running the Java application itself, right?
How can I set the VM options to increase the Heap for the language server itself?
Language / Project Type / NetBeans Component
Java maven Spring Application
How to reproduce
I use an existing maven project which is larger.
Did this work correctly in an earlier version?
No / Don't know
Operating System
Arch Linux
JDK
OpenJDK 64-Bit Server VM (build 21.0.9+10, mixed mode, sharing)
Anything else
No response
Are you willing to submit a pull request?
No
- 主要语言
- TypeScript
- 星标
- 11
- 派生
- 13
- 平均合并
- 2 天 18 小时
- 30 天内合并 PR
- 2
环境准备
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
apache/netbeans-vscode 的其他 Issue
-
难度 4/5 3-5 天 新手友好度 35/100
apache/netbeans-vscode#31 ·
-
难度 3/5 1-2 天 新手友好度 42/100
apache/netbeans-vscode#29 · 1 条评论 · 2 个 reaction ·
-
难度 3/5 1-2 天 新手友好度 35/100
apache/netbeans-vscode#28 ·
-
难度 3/5 1-2 天 新手友好度 55/100
apache/netbeans-vscode#25 · 1 条评论 ·
-
难度 4/5 3-5 天 新手友好度 48/100
apache/netbeans-vscode#19 · 2 条评论 ·
查看 apache/netbeans-vscode 的全部 Issue
相似的 Issue
-
needs:triage
难度 2/5 1-3 小时 新手友好度 84/100
维护者通常 1 天内回复
-
ai-discovered
难度 2/5 1-3 小时 新手友好度 83/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 88/100
jessepollak/home#1627 ·
维护者通常 1 天内回复
-
agent-canvas bug llm priority:low ready-for-dev
难度 2/5 1-3 小时 新手友好度 82/100
OpenHands/OpenHands#17806 · 3 条评论 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 76/100
radius-project/ai-extensions#923 ·
维护者通常 1 天内回复