High ram allocation

On my hub server that is a void world used for directing players between servers, the ram usage in pterodactyl constantly sits at 6+gb's of ram and has crashed for OOM in the past. When looking at the current spark report for it, the report shows less than a gig of ram usage but allocating 6+gb's of ram. Any suggestions for not only reducing the allocated ram but also the used ram? I would prefer to keep this on a newer version, and I may be upgrading to 1.21.3/1.21.4 soon if that changes anything. https://spark.lucko.me/0Zswl9VYca is the profiler.
spark
spark is a performance profiler for Minecraft clients, servers, and proxies.
10 Replies
Admincraft Meta
Admincraft Meta2mo ago
Thanks for asking your question!
Make sure to provide as much helpful information as possible such as logs/what you tried and what your exact issue is
Make sure to mark solved when issue is solved!!!
/close !close !solved !answered
Requested by lavaking46#0
ProGamingDk
ProGamingDk2mo ago
one dont use 1.20.6 please upgrade to 1.21.1 atleast asap, 1.20.6 has dupes/chunkbans etc, but ptero can only see whats alloated by the container, lower xmx to lower than whats allocated on panel spark is accurate, panel is not, but panel still has to go of what mc tried to allocate not actual usage
lavaking46
lavaking46OP2mo ago
How much ram would you say I need for this server? 2gb. 4gb...? its just a void world where the only people with items already will have creative permissions and such as they will be admins. We just haven't bothered to update this particular server yet and have opted to use viaversion and direct connections so far.
ProGamingDk
ProGamingDk2mo ago
try 4 panel, 3 xmx or 2
lavaking46
lavaking46OP2mo ago
k. 3 panel 2 xmx or 4 panel 2 xmx?
ProGamingDk
ProGamingDk2mo ago
wtf
No description
ProGamingDk
ProGamingDk2mo ago
cursed flags
lavaking46
lavaking46OP2mo ago
uhh interesting lol
ProGamingDk
ProGamingDk2mo ago
dont use alwayspretouch when you have memory issues, double xms and xmx flags, and shen at 4-6 gb is interesting also are you even on dual socket cpus? using proxmox for virtual cpu
lavaking46
lavaking46OP2mo ago
mhm the server is not very single core performant but its what I have access to atm and it works for the basic build servers its used for I made these flags before I really knew what I was doing and learned so much from this discord about how to set flags lol

Did you find this page helpful?