Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

java.lang.OutOfMemoryError: Java heap space

オープン
#16 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
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
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

apache/netbeans-vscode のほかの issue

apache/netbeans-vscode の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。