enviromc performing awfully
hello i was making a server in enviromc and it performs awful, with 3 players and i got oom, idk if it is bad like this always or maybe it is my servre
i have some datapacks but like exaroton performed even better dude
has anybody got that problem as well? i've made the server recently idk if it makes a difference
17 Replies
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 lugixion#0
i allocated 6gb (budget) btw
when i joined the server it was like 27 mspt by myself
and then i joined 2 fake players in loaded chunks and when tried to load new chunks doing a tp to a random location it crashed
!oom
My server is using too much memory
My panel says my memory usage is high all the time.
Your server runs in the Java Virtual Machine (JVM), which has significant overhead & tries to effectively use ALL of the memory assigned to it.
Memory usage from "htop", Task Manager, or your server panel is the total consumption of the JVM, not just your server.
My server is lagging & I think it's memory related.
It's much more likely that you are bottlenecked by your CPU, disk, or some inefficient mod/plugin.
Rule of thumb, servers should have anywhere from 4GB to 12GB of memory, with 8GB being the 'sweet spot'.
If you're heavily modded, add 4GB to that.
Too much memory can be a bad thing. Don't exceed these caps unless you really know why you're doing it.
Troubleshoot your server the right way: use Spark & send us a report.
My server is randomly terminated unexpectedly.
Setting your server to use 8GB does not mean that Java won't exceed this amount.
As a rule of thumb, allow your system/container about 1-2GB (possibly more) overhead outside of the server.
If you're on Linux & can SSH into the system, check your kernel logs. They will report any incidents of OOM.
I want to use swap to allocate more memory.
Don't. Swap is not free memory and using it can negatively impact performance.
Admincraft Canned Responses
yes but the strange thing it's that in exaroton it had never happened
and now with this one it does
ok well i can tell you didn't read the canned response
so i will refer you back to the canned response
i will read the canned response
thank you.
ok i read the canned response
the flags setting the ram are set up automatic
using all the ram i purchased
im going to try to ssh into the console to see what it says when crashing
or maybe the crash logs
this is what it says when crashing
okay i can tell you haven't read the canned response, again.
bro what
i dont know what to take out of it
i just can do one more thing out of that and it is lowering the allocated ram for the server?
am i correct señor leche
i did that and it's still lagging really bad
read the section labeled "My server is lagging and I think it's memory related" please
Enviromc is supposed to have 2gb of overhead
Try testing with 5GB and see how it goes
In a worst case scenario make a spark report
staff helped me fix some issues
Amazing
What did you guys do? @lugixion
he modified the flags and set 5gb
and idk what else