shoker ツ
AAdmincraft
•Created by ZaviusGaming on 7/29/2023 in #questions
slimeworld manager
your startup line is wrong, if you use classmodifier it should look like this:
-javaagent:classmidifier.jar
. But its very deprecated, there's AdvancedSlimePaper for new versions which is supported and is a fork of paper so no classmodifier needed anymore.24 replies
AAdmincraft
•Created by TerrorByte on 7/18/2023 in #questions
Continuous Purpur Thread Dumps, related to memory?
Common cases when OOM Killer kills a server:
not enough memory for the server OR not enough memory for Java itself.
The first case means a memory leak is possible here. Try
/spark healthreport
when memory usage gets high values to see if it's the server is actually using so much memory, if it is, you'll see a lot of memory being used in healthreport. So if the server really uses so much memory you need to make a /spark heapdump
exactly when it uses a lot of memory (almost full), download Eclipse MAT
and analyze it there, it has a feature to find memory leaks btw. But it needs manual exploring the dump too.
The second case can happen if you allocate a lot of RAM to the server and forget to think about Java itself which needs RAM too. As of my experience it needs like 1GB extra RAM to work fine and not to get killed. Also when using AlwaysPreTouch
flag (Aikar's flags have it) the server allocates the whole RAM you gave it at the start making any other process unable to use it if needed, that's where Java process can get hurt. You can try disabling AlwaysPreTouch (just to test it, the purpose of the flag itself is fine) and see if it helps. If it does, it means you need to lower RAM values a bit, maybe 4.5G goes cool, so it needs testing.52 replies