© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
AdmincraftA
Admincraft•12mo ago•
14 replies
Babka Z Krzyżówki

Startup batch file doesn't start server if it includes

My startup batch file (java -jar server_1.20.6.jar --nogui) starts the server normally. The server works fine but when the -xmx and -xms lines are added to limit ram usage the batch file closes on itself without anything of note. What am I doing wrong? Each method i tried of hosting a server from a yt video didnt work but the offical mc documentation allowed me to run it no problem without the Xmx and Xms line.
AdmincraftJoin
10,704Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

batch file to automatically restart server?
AdmincraftAAdmincraft / questions
3y ago
Server won't start
AdmincraftAAdmincraft / questions
2y ago
Batch file for playit.gg?
AdmincraftAAdmincraft / questions
3y ago
Server Won't Start Anymore
AdmincraftAAdmincraft / questions
2y ago