Estimate Minecraft server RAM from player count, software, view distance and mods, then keep enough spare memory for safe restarts.