How to increase ram on minecraft server
Matthew Cannon
Updated on April 01, 2026

Further, you need to select the Text document in order to create a Text document in the directory itself. Now, go to a new text document and type the following text: java -Xmx####M -Xms####M-exe Minecraft_Server.exe -o true PAUSE. You have to now replace the ‘####’, with whatever amount of RAM you want to add in MBs.
There are other answers below:
Change the “2” to allocate more ram to Minecraft server as you wish Minecraft to utilize. It is feasible to let it utilize all of the RAM you have accessible, but whether it truly takes advantage of full usage depends on whether you have something else operating and running in the background.
Replace the value in megabytes of 4096 on both arguments with the available RAM of your machine. For example, you could replace them with 8192M which means 8 GB of RAM allocated on startup to the Minecraft server. A full example with 8GB : java -Xmx8192M -Xms8192M -jar minecraft_server.jar nogui Enjoy!
How to Allocate More RAM to Minecraft Server Using Commands. Once you’ve established how much RAM you can afford to allocate to your server, you’ll need to return to your old friend cmd.exe (or the Command Prompt) if you’re a Windows user, or alternatively Terminal if you’re on a Mac.
- Check the RAM on your PC Right click Windows Start menu and choose Settings. In the setting window, choose System. …
- Open Minecraft server directory This folder contains Minecraft_server.exe file that you launch the Minecraft server with. …
- Allocate more RAM by creating a new document
Related Questions
How to increase Minecraft server memory on Windows 10?
Step 1. Check the RAM on your PC Right click Windows Start menu and choose Settings. In the setting window, choose System. Locate to the About section and note down the number of Installed RAM under Device specifications. Step 2. Open Minecraft server directory
How to allocate more RAM to Minecraft?
Allocate more RAM Minecraft 1 Check the available RAM on your PCRight click Windows Start menu and choose Settings.In the setting window,… 2 Toggle on the JVM arguments switchStart the Minecraft Launcher by double-clicking the Minecraft icon on your PC. 3 Adjust RAM for Minecraft See More….
How much RAM do I need to run a Minecraft server?
If you’re on Windows, make sure you download the correct bit version for your operating system. You can only allocate 1 GB of RAM on a 32-bit computer. Open your Minecraft server directory. This is the folder that contains the Minecraft_server.exe file that you launch to start your Minecraft server.
How do I make Minecraft run faster on my computer?
Using Launcher Version 2.0.X Check your computer’s available RAM. Update your Java program. Open the Minecraft launcher. Click the Installations tab. Make sure the Advanced settings switch is on. Click the profile you want to change. Ensure the JVM arguments are enabled. Edit the amount of RAM that Minecraft can use. Click SAVE.