Problem need to allocate more ram

  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord

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")
 
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.
 
i tried but nothing happened and when i try to open the server start.bat he doesnt open completly so what can i do
 
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"
 
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
 
java -Xms512M -Xmx1G -jar direwolf20.jar server start.sh
java -Xms512M -Xmx1G -jar direwolf20.jar server start.bat
 
then edit your server start.bat and make the line like:
Code:
java -Xms512M -Xmx2G -jar direwolf20.jar
instead of the 1 a 2 ;)
 
odd you did edit your start server.BAT i hope not the sh one?, ifso try :
Code:
java -Xms1024M -Xmx2G -jar direwolf20.jar
 
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)