YO guys! MY server has 12 gb ram and 16.5 ghz cpu. IT's VPS host. Thing is My server laggs when ram usage is low I don't understand pls help.
#!/bin/sh while true do java -Xmx4G -Xms2G -jar spigot.jar echo "If you want to completely stop the server process now, press Ctrl+C before the time is up!" echo "Rebooting in:" for i in 5 4 3 2 1 do echo "$i..." sleep 1 done echo "Rebooting now!" done My host is vhost.lt
Xmx and Xms should be the same amount of RAM, setting GC would also help See here https://www.spigotmc.org/threads/gu...remove-lag-fix-tps-improve-performance.21726/
YO guys so problem was MySQL it lagged my server. Now I switched to mariaDB no problems GL to everyone too.
Maria is my girlfriends name, but I'm the only one allowed to look at her DB's. Just kidding, I've never used MariaDB or heard of it to be honest.