
The server (as of 1.14) does use additional cores for other operations, but typically three cores are used at most. A CPU with good single-core performance.
Try -Xmn 128M -XX:SoftMaxHeapSize=1G -Xmx 2G. The JDK will try to keep memory usage below the soft max, but will allow it to go above it to reach -Xmx if needed.
Depending on the specific java version, you may be able to set a "soft max RAM" amount for the server JAR program. While a player object only requires about 50 to 100 MB of RAM, the server often has to allocate much more memory per player for many different reasons. It is difficult to determine how much RAM is needed because there are many factors to consider such as the number of players on your server and how they interact with the game world. If you are using Windows or a desktop-based Linux distribution, you should have at least 1 GB of additional physical RAM in the computer, so the graphics on the desktop don't become laggy. At least 1 GB of RAM allocated for the server to run ( -Xmn 128M -Xmx 1G). For version 1.18, JRE version 17 is required. As of version 1.17, JRE version 16 is required.
A Java runtime (JRE), version 8 or higher. Requirements may change depending on the server software (like the OS), such as using Bukkit and/or mods. 2.1 Running a LAN Party type Server (since 1.11.2)įor a full tutorial on setting up a Minecraft server, please read the installation and configuration guide. 1 Server installation and configuration.