Thread leak - "Java Sound Manager"
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 38/100
Direzione di ricerca
Inizia con il codice MidiJingleSequencer citato nell’issue e riproduci il comportamento monitorando i thread mentre i giocatori effettuano il login e il logout su un server vanilla con CommandBook. Il lavoro è completato quando i logout dei giocatori non lasciano più thread "Java Sound Manager" che si accumulano.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Hello,
While debugging my own plugin, i added a command to monitor the threads used by bukkit and all the plugins.
I saw something strange in the output of the command, about 200 "java.util.Thread" called "Java Sound Manager".
So i did some tests with a vanilla server, a craftbukkit server without plugins and after i added all the plugins one by one.
Finally it seems that this kind of Thread is created by CommandBook.
Each time a player logged on the server, a Thread "Java Sound Manager" is created, but this thread is never destroy when the player logout. So after a few hours, depending on how many players you have on your server, you have a lot of useless threads still running :/
Like you said in your code comment in MidiJingleSequencer : " Sounds like utter crap" ^^
Tikkub
- Lingua principale
- Java
- Stelle
- 151
- Fork
- 104
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Guida per i contributori
Apri 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 EngineHub/CommandBook
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
EngineHub/CommandBook#294 · 2 commenti ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
EngineHub/CommandBook#285 · 3 commenti ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
EngineHub/CommandBook#283 ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 20/100
EngineHub/CommandBook#282 ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
EngineHub/CommandBook#281 ·
Tutte le issue di EngineHub/CommandBook
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
infinispan/infinispan#18150 ·
-
area/frontend
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
-
untriaged
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
opensearch-project/k-NN#3597 ·
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100