How To Allocate More RAM in Minecraft?
Question
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Ask a question, receive an answer, communicate with other Minecraft player and build a friendship - it's only few reason why you should register in AskMinecraft.
Answer ( 1 )
5 Steps How To Allocate More RAM To Minecraft
java -Xmx2048M -Xms2048M -jar “minecraft.exe”
(The example designates 2GB of RAM first, every additional GB of RAM requires a rise of overall system’s capacity by 1024. Make sure your system has enough space before trying this.)
It means To allocate 2GB, type 2048. To allocate 3 GB, type 3072. To allocate 4 GB, type 4096. To allocate 5 GB, type 5120.
(which was java -Xmx2048M -Xms2048M -jar “minecraft.exe”) change to:
For Windows:
java -Xmx####M
-Xms####M -exe Minecraft_Server.exe -o true
PAUSE
For OS X:
#!/bin/bash
cd ’’$( dirname ’’$0’’)’’
java -Xms####M
-Xmx####M -exe Minecraft_Server.exe -o true
*instead of #### put the value in megabytes that you need to allocate.
( For Example : To allocate 2GB, type 2048. To allocate 3 GB, type 3072. To allocate 4 GB, type 4096. To allocate 5 GB, type 5120)
“C:WindowsSystem32javaw.exe” -Xmx2048M -Xms2048M
-jar “Minecraft.exe”