I'm running a server with a few of my friends. i've been having server lag as soon as we're loading in chunks with quite a lot of lag when we're 5 players on at the same time. i have tried giving the server 32Gbs of RAM in the server config but as far as i can tell using /spark it's only using a max of 7Gb.
https://spark.lucko.me/QQQBBQIOLo
While running the server it's only using max 22% of memory and about 10 to 20% CPU usage
could anyone tell me how to get some better performance?