Memory Leak in Linux

Aperta
#1,543 8 commenti 4 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

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

Direzione di ricerca

Inizia riproducendo il report con VS Code 1.105.1, la versione 0.30.5 dell’estensione, OpenJDK 17, Linux e un progetto Spring Boot più grande, monitorando al contempo la memoria durante le modifiche. Non sono indicati né un file sorgente né un test; il lavoro è completato quando vengono identificati l’estensione o il processo responsabile e viene confermato che modifiche ripetute ai file non causano più una crescita illimitata della memoria.

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

Descrizione

ai-triaged bug

After launching the IDE everything fine but as I do changes in my codebase memory consumption keep increasing.
I have installed Java extension package and Spring boot extension pack. Actually I don't know which one is responsible.

Environment:

  • VS Code Version: 1.105.1
  • Extension Version: 0.30.5
  • JDK Type & Version: OpenJDK 17
  • OS Type & Version: Linux

Step to Reproduce:

  1. Open a spring boot project (Larger the code base sooner you will notice)
  2. Start changing in different files
  3. It may take a couple of minute
  4. Monitor the resources

Expected Behavior:
On changing the file overall memory uses should be stable

Actual Behavior:
On each change IDE start checking errors, making auto build and other stuffs. After some times, Java memory reaches to 8GB and keep increasing and system crash or I have to restart vs code to release the memory.

Image

Related Issues:
If you have a large java file like having more than 7K+ lines of code the IDE suggestion are slow, and if you keep working on that file the suggestion will almost stop.

One more Issue I have faced that, on starting the VS code at first the java extension start up but sometimes it sometime (rare) it stuck at java publish diagnosis step. After restart it work

Image
Lingua principale
TypeScript
Stelle
352
Fork
166
Merge medio
17h 47m
PR unite (30g)
32

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

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 microsoft/vscode-java-pack

Tutte le issue di microsoft/vscode-java-pack

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.