Skip to content

Instantly share code, notes, and snippets.

@alexweininger
Created July 11, 2020 00:44
Show Gist options
  • Save alexweininger/975e91ef132a153edecac590c9bc1b96 to your computer and use it in GitHub Desktop.
Save alexweininger/975e91ef132a153edecac590c9bc1b96 to your computer and use it in GitHub Desktop.
Run Minecraft server with more ram
java -Xmx4096M -Xms4096M -jar server.jar
@alexweininger
Copy link
Author

To run a Minecraft Java edition server with more ram, simply put this file in the server directory and double click it.

To change the amount of ram dedicated to the server, simply change the 4096 value you see in the file. That value is the amount of ram in Megabytes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment