Can someone tell me how i create the start.bat file to allocate more ram to my own minecraft server (1.15.2) create thank you in advance.
You only have to add 1 Java argument
-Xmx e.g. -Xmx2G for 2GB RAM
Should I save it in the server folder as a .bat or .jar file
The best thing to do is find out how to create a start.bat?
I've already created such a file but it doesn't work
With the command java -Xmx1024M -Xms1024M -jar minecraft_server.jar nogui.
Yes, then you have everything
Well i thought then i restarted the server but it shows me that it has so much ram
Then. Give him more at Xmx
e.g. Xmx4G for 4GB
But I only have 3gb
You are hosting a server with 3GB RAM.
Hallelujah.
I probably don't want to know the CPU, right? ^^
The server can of course only have as much RAM as you have free
1024m is about 1 gb
Are exactly 1GB, yes
And why doesn't it work so I start the server and in this folder the bat file should be correct
I have no idea what exactly you are doing and what is not working.
I can't help you like this
Hm ok understand anyway thanks.
You only change the RAM, not the file name
How far so I have the server called "server" with the other files in the folder and you should put a bat file with the name "start.bat" in the folder in this folder and this should be the command "java -Xmx1024M -Xms1024 -jar minecraft_server.jar "and then when you start the server it should have 1GB RAM available or😅
If you have the RAM free, yes.
Yes, I have max. 3GB available so yes I have 1 GB free
Is your jar file called minecraft_server.jar? In the start.bat the name of the server.jar must be written exactly as it is in the folder. If everything is entered correctly, the server should start by clicking on start.bat. If he doesn't, write what comes as a message.