#Try -Xmx512m @question
1 messages · Page 1 of 1 (latest)
you use lavalink v4? 🤨
if it's latest release then no
I didn't notice the release
-Xmxn
Specify the maximum size, in bytes, of the memory allocation pool. This value must a multiple of 1024 greater than 2MB. Append the letter k or K to indicate kilobytes, or m or M to indicate megabytes. The default value is 64MB. The upper limit for this value will be approximately 4000m on Solaris 7 and Solaris 8 SPARC platforms and 2000m on Solaris 2.6 and x86 platforms, minus overhead amounts. Examples:
it sets the limit
so it might go OOM (Out Of Memory)
but it forces the jvm to cleanup it's garbage more often
You don't have to be a fan :p
On projects like this, I prefer ziglang
Just giving you other options :p