How To Allocate More RAM in Minecraft?

Question
How To Allocate More Ram in Manicraft

Ppl! Who can tell me how to allocate more RAM in Minecraft?

in progress 0
, , virgil 1 year 1 Answer 404 views 0

Answer ( 1 )

  1. 5 Steps How To Allocate More RAM To Minecraft

    1. Firstly, move ‘’Minecraft.exe’’ into a new folder
    2. Open Notepad to make up a new text file and write as follows:
    3. 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.

    4. The next step is to save this ‘’.txt’’ file as a ‘’.bat’’ file to the same folder where is Minecraft.exe located. Just name it whatever you want.
    5. If  Minecraft still does not open a file after you have completed the instructions above, try the steps below with your .bat file:
      • Change java to javaw
      • Remove the quotation marks around minecraft.exe
      • Add “Pause” on a new line of the .bat after the command.
      • Or only change the code in the 2nd step

      (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

      How To Allocate More RAM in Minecraft

      *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)

    6. If all of these methods didn’t work then open the properties of the bat file that you changed to exe (right click -> properties) and add “-Xmx2048M -Xms2048M -jar” attribute to the location of file itself as it’s shown below

    “C:WindowsSystem32javaw.exe” -Xmx2048M -Xms2048M
    -jar “Minecraft.exe”

Leave an answer