Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

java.lang.OutOfMemoryError: Java heap space

Aperta
#16 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
java, spring, vscode

Direzione di ricerca

Inizia dalle impostazioni dell’estensione menzionate nel report e dal percorso di avvio di Apache NetBeans Language Server. Riproduci l’esaurimento dell’heap usando il progetto Maven Spring più grande, quindi verifica che al server possa essere assegnato più heap tramite un’impostazione documentata o funzionante.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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

Lingua principale
TypeScript
Stelle
11
Fork
13
Merge medio
2g 18h
PR unite (30g)
2

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di apache/netbeans-vscode

Tutte le issue di apache/netbeans-vscode

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.