Server crashing infrequently due to 'out of memory' warning
Spark profiler thinks the server is using 8gb, but the server panel thinks it is using nearly 20. Which is correct?
Trying to ID why the ram usage is so high.
27 Replies
Thanks for asking your question!
Once you have finished, please close your thread.
Make sure to provide as much helpful information as possible such as logs/what you tried and what your exact issue is
command to close
/close
!close
!solved
Requested by ohsogamer#0
More ram = better, surely
no
more ram = usually worse
how many players
around 15
and how many plugins and worlds do you have loaded
oh I have a ton of plugins
in your startup args, set xms and xmx to 8g
:HOPIUM:
Contrary to popular belief, less is more
What's better, eating just enough that you're happy, or so much that you're sick?
Doesn't pterodactyl show how much is allocated instead of how much is being used?
Thats just smth I heard somewhere, could be completely wrong
I wouldn't rely on it
usd tps command instead I believe it was
essentials has /memory
and spark has a method aswell
Sorta. All system reporting shows what is reserved by the JVM. What's reserved is marked as in use to the system, but that doesn't mean the minecraft server is using it.
System reporting = task manager, pterodactyl panel, top command, etc.
My server is constantly at max ram usage according to the panel
Don't worry
Buut
fish
It should not crash
We forgot to tell him to remove alwayspretouch
meh im hearing that it just changes when the crash comes and doesnt prevent it
I'm blind
He's not using that flag
wc
What's the crash report?
Well, I think that's debatable. Generally has been shown to be effective in helping though.
tell that to kevin
¯\_(ツ)_/¯
Not my place, idc that much.
Use aikar flags
(AlwaysPreTouch has been removed)
I did have it, removed it and it was still happening
Didn't say that it removes it entirely, just that it is effective to help
👀
I just spent a few hours downloading the entire server to my own pc and reinstalled the server, now Imma try again and hope it finally works like normal
Yeah just the thing is, before upgrading my server I never had this crash happen
I used the same flags and after the upgrade this shitshow just constantly happened