OOM Kill need help with startup configuring
Just updated server to 1.20.1 and been having problems running out of memory. Thinking it has to do with startup parameters. Not sure the steps to fix it.
Currently: java -Xms4400M -Xmx4400M -jar purpur-1.20.1-2016.jar
24 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 rinkiwa#0
are u using a host
Heavynode
are u able to adjust ur startup flags?
set xmx to 3 gig
Yes, have full reign on configs
@Gatto does heavynode offer swap overhead
can also add these
https://flags.sh/
remove alwayspretouch from em
We have 8 GB for RAM but were having problems before so changed startup, but the update reset the startup params and I don't remember what it was before
I inherited this server without server manager knowledge so I apologize in advance
8gb of ram
with 4 gb xmx?
wha
I think the older owner kept adding ram to help lag but never changed start up parameters
well.. u should be able to go up to 6gb. 8gb if ur host gives u overhead ontop of the 8gb ur paying for
the flags will help out a lot
Thank you, I appreciate it
np
Btw do you have a favorite host you would recommend? Feel like we're paying way too much right now
#marketplace
Thanks!
just make a post there
Yeah, we offer swap. It can be enabled in our control panel under "Settings" for most servers. If it's not there, a ticket is needed and it will be enabled.
I would try Aikar's flags and set the Xms/Xmx to maybe 6.5 or 6 GB. Also is it actually showing oom killed or are you getting a java out of memory exception?
Used the flags and set the xms/xmx to 6400, no lag problems or crashes since (which was a day ago)
👍
just do !close
!close
post closed!
The post/thread has been closed!
Requested by rinkiwa#0