RAM Leakage after continuous run
See original GitHub issueDescription
The Lavalink Process Does not appear to clean up garbage it collects after some time after the start, I’m not sure why and it doesn’t appear to be normal.
Version info
Client used: NodeJS Erela.JS v2.3.3
Output of java --version
:
openjdk 17 2021-09-14
OpenJDK Runtime Environment (build 17+35-Ubuntu-120.04)
OpenJDK 64-Bit Server VM (build 17+35-Ubuntu-120.04, mixed mode, sharing)
Output of java -jar Lavalink.jar --version
:
Version: 3.3.2.5
Build: 1222
Build time: 11.04.2021 08:07:27 UTC
Branch master
Commit: 7b914f2
Commit time: 09.04.2021 17:14:27 UTC
JVM: 17
Lavaplayer 1.3.76
After a Restart of Lavalink: After ~7 Hours Runtime and 1 Player Playing:
Issue Analytics
- State:
- Created 2 years ago
- Comments:13 (5 by maintainers)
Top Results From Across the Web
How do I check for memory leaks, and what should I do to stop ...
This is known as a memory leak, and it happens when software fails to manage the available RAM correctly. With the computer functioning ......
Read more >How to Fix A Windows Memory Leak - Lifewire
Press Windows key+R, enter "resmon," then select OK.
Read more >Seems like there's a memory leak after the expansion update.
Running the game at 60 fps, i only notice stutters and drops after 13 hours of continuous play. Again. With memory leaks, the...
Read more >Fixing memory leaks in web applications | Read the Tea Leaves
But it's extremely unlikely to leak memory on the client side, since the browser will clear the memory every time you navigate between...
Read more >How To Detect and Prevent Memory Leaks | Scout APM Blog
A memory leak is the gradual loss of available computer memory when a program (an application or part of the operating system) repeatedly...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
It appears to just be you. This issue appears to have been opened because of a misunderstanding about how the JVM manages memory.
Nope just the xms and xmx as mentioned. I have tried using
java -Xms512M -Xmx512M -XX:+UseG1GC -XX:G1HeapRegionSize=4M -XX:+UnlockExperimentalVMOptions -XX:+ParallelRefProcEnabled -XX:+AlwaysPreTouch -jar Lavalink.jar
which performed a bit better.