FANDOM


1. Open a .txt file on your desktop by right clicking on your desktop -> New -> Text Document

2. Open the txt file to edit it.

3. Depending on how many RAM you have you copy the following into the Text Document:

Warning do NOT allocate more then you have on Memory (RAM)!
Replace C:\<your minecraft directory\minecraft.exe> with the location of YOUR minecraft.exe
  • I want to allocate 2GB RAM
    • javaw -Xmx2048m -Xms1024m -jar "C:\<your minecraft directory\Minecraft.exe>"



  • I want to allocate 3GB RAM
    • javaw -Xmx3072m -Xms1536m -jar "C:\<your minecraft directory\Minecraft.exe>"



  • I want to allocate 4GB RAM
    • javaw -Xmx4096m -Xms2048m -jar "C:\<your minecraft directory\Minecraft.exe>"



  • I want to allocate 5GB RAM
    • javaw -Xmx5120m -Xms2560m -jar "C:\<your minecraft directory\Minecraft.exe>"



  • I want to allocate 6GB RAM
    • javaw -Xmx6144m -Xms3072m -jar "C:\<your minecraft directory\Minecraft.exe>"



  • I want to allocate 7GB RAM
    • javaw -Xmx7168m -Xms3584m -jar "C:\<your minecraft directory\Minecraft.exe>"



  • I want to allocate 8GB RAM
    • javaw -Xmx8192m -Xms4096m -jar "C:\<your minecraft directory\Minecraft.exe>"

4. save the text file to mc.bat

5. double-click the mc.bat file when you want to play minecraft and you will launch it with the amount of memory configured in the file above.

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.