Problem need to allocate more ram

Beditepower1

New Member
Jul 29, 2019
7
0
0
when i start my server it says (To start the server with more ram, launch it as "java -Xmx1024M -Xms1024M -jar minecraft_server.jar")
 

Nessiroj

New Member
Jul 29, 2019
855
0
1
how do you start your server? if with the bat fiole or the sh file you can edit this file and change the -xmx to 1024M or bigger, depending on how much ram your server has.
 

Beditepower1

New Member
Jul 29, 2019
7
0
0
i tried but nothing happened and when i try to open the server start.bat he doesnt open completly so what can i do
 

Beditepower1

New Member
Jul 29, 2019
7
0
0
yeah but he start that not the prob but it says [WARNING] To start the server with more ram, launch it as "java -Xmx1024M -Xms1024M -jar minecraft_server.jar"
 

Nessiroj

New Member
Jul 29, 2019
855
0
1
can you post the content of the start server.bat (if your starting the server with that file) or otherwise the content of the start server.sh
 

Beditepower1

New Member
Jul 29, 2019
7
0
0
java -Xms512M -Xmx1G -jar direwolf20.jar server start.sh
java -Xms512M -Xmx1G -jar direwolf20.jar server start.bat
 

Nessiroj

New Member
Jul 29, 2019
855
0
1
then edit your server start.bat and make the line like:
Code:
java -Xms512M -Xmx2G -jar direwolf20.jar
instead of the 1 a 2 ;)
 

Beditepower1

New Member
Jul 29, 2019
7
0
0
ty ill try right now[DOUBLEPOST=1359146508][/DOUBLEPOST]nothing change at all still the same warning message
 

Nessiroj

New Member
Jul 29, 2019
855
0
1
odd you did edit your start server.BAT i hope not the sh one?, ifso try :
Code:
java -Xms1024M -Xmx2G -jar direwolf20.jar
 

NooBxGockeL

New Member
Jul 29, 2019
93
0
0
But it works right? You havent yet got the chance to see if the people can join with the jar right?
So just continue using that .bat file and go read up some Minecraft server setup tutorials that are around.
I think you wanna host it on the PC you are playing too, those (most of the times) arent port forwarded automatically.
And dont tell me i have to give you a lmgtfy.com link (hint keywords are underlined)