VisualVM memory leak
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
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- java
- Ambito
- performance
Direzione di ricerca
Start by reviewing the attached VisualVM log and the memory monitoring behavior while VisualVM monitors multiple long-running JVMs. Compare memory use over time with the reported expected range of 200–400 MB and the observed growth toward the 4 GB heap limit. Done means identifying and fixing the cause of the growth, then confirming memory remains near the expected range during a reproduction lasting multiple days.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Describe the bug
Hi, I have this situation, VisualVM is using all the memory I gave the it via JVM parameter.
To Reproduce
Steps to reproduce the behavior:
- Open VisualVM with -Xmx 4g.
- Run another two other JVMs, all long term, for multiple days, monitor all three VMs.
- Go back to the computer from time to time and check on VisualVM, nothing interesting is happening.
- Go back to the computer and check VisualVM - it uses all the memory.
Expected behavior
Normal memory usage, around 200-400 MB.
Actual behavior
VisualVM uses all the memory - in my case 4 GB.
VisualVM log
In attachement.
logfile.txt
Screenshots
Desktop (please complete the following information):
- OS: Windows Server 2022, x64, Windows Server 2022 Standard [Version 21H2 10.0.20348.5761] 64-bit
- JDK version: openjdk version "26" 2026-03-17
OpenJDK Runtime Environment (build 26+35-2893)
OpenJDK 64-Bit Server VM (build 26+35-2893, mixed mode, sharing) - Version: 2.2.2
- Lingua principale
- Java
- Stelle
- 3.3k
- Fork
- 335
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di oracle/visualvm
-
bug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 55/100
-
Can the language be changed?Apertaenhancement
Difficoltà 5/5 Più di una settimana Idoneità per principianti 15/100
-
Tab contrast too lowApertabug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
-
enhancement
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
-
Notifications supportApertaenhancement
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
Tutte le issue di oracle/visualvm
Issue simili
-
Marketplace time-zone issueApertabug main ui
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
openhab/openhab-webui#4671 ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 64/100
NearVanilla/IceCream#109 ·
I maintainer di solito rispondono entro 1 giorno
-
getRawTextContent() returns the lines of every page in reverse order (bottom to top) since 4.0.3Aperta
Difficoltà 1/5 1-3 ore Idoneità per principianti 90/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
bancolombia/bin-stash#79 ·
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
I maintainer di solito rispondono entro 1 giorno