I've noticed that in older versions of Minecraft in order to setup a server you needed to type in a txt file how much ram you wanted for your server. For example if I wanted 4 GB of RAM I could simply type "Java -Xmx4096M -Xms4096M -jar minecraft_server.jar nogui" in the txt file and then save it as a bat file and then execute it. But now in 1.15.2 you simply have to double click the server.jar file, accept the EULA and then double click it again and then the server is fully set up. But my question is: How does the server know how much RAM I want it to have when I don't use the txt file like I did with the previous Minecraft versions? Thanks for reading my question, if you have any answers feel free to let me know!
I've noticed that in older versions of Minecraft in order to setup a server you needed to type in a txt file how much ram you wanted for your server. For example if I wanted 4 GB of RAM I could simply type "Java -Xmx4096M -Xms4096M -jar minecraft_server.jar nogui" in the txt file and then save it as a bat file and then execute it. But now in 1.15.2 you simply have to double click the server.jar file, accept the EULA and then double click it again and then the server is fully set up. But my question is: How does the server know how much RAM I want it to have when I don't use the txt file like I did with the previous Minecraft versions? Thanks for reading my question, if you have any answers feel free to let me know!
Best regards,
gkN
You can't. It defaults to 1-2GB when run without the script. You always have to use the script to declare RAM allocations. This also isn't exclusive for 1.15.2 only, it went back to 1.12.2 or around there.
Hello,
I've noticed that in older versions of Minecraft in order to setup a server you needed to type in a txt file how much ram you wanted for your server. For example if I wanted 4 GB of RAM I could simply type "Java -Xmx4096M -Xms4096M -jar minecraft_server.jar nogui" in the txt file and then save it as a bat file and then execute it. But now in 1.15.2 you simply have to double click the server.jar file, accept the EULA and then double click it again and then the server is fully set up. But my question is: How does the server know how much RAM I want it to have when I don't use the txt file like I did with the previous Minecraft versions? Thanks for reading my question, if you have any answers feel free to let me know!
Best regards,
gkN
You can't. It defaults to 1-2GB when run without the script. You always have to use the script to declare RAM allocations. This also isn't exclusive for 1.15.2 only, it went back to 1.12.2 or around there.
All right, thank you for telling me!