More Ram to minecraft
Ok.This is just a quick post on how to assign more RAM to minecraft.
Open notepad and copy this javaw -Xmx(your RAM)m -Xms(half your RAM) -jar "Your minecraft destination,example C:\Users\Craig\Downloads\minecraft.exe".
Save as run.bat and drag to your desktop.
double click to launch,if it closes after opening for a split second then you will need to download Java x64 bit and try again.
Sorry,one thing I left out was the memory amounts
here they are:
1GB 1024
2GB 2048
3GB 3072
4GB 4096
5GB 5120
6GB 6144
7GB 7168
8GB 8192
use the number on the right to enter your RAM,this is essential or else i would not have included it.
Open notepad and copy this javaw -Xmx(your RAM)m -Xms(half your RAM) -jar "Your minecraft destination,example C:\Users\Craig\Downloads\minecraft.exe".
Save as run.bat and drag to your desktop.
double click to launch,if it closes after opening for a split second then you will need to download Java x64 bit and try again.
Sorry,one thing I left out was the memory amounts
here they are:
1GB 1024
2GB 2048
3GB 3072
4GB 4096
5GB 5120
6GB 6144
7GB 7168
8GB 8192
use the number on the right to enter your RAM,this is essential or else i would not have included it.
(This post was last modified: 12-14-2011, 11:57 AM by craigpd.)
Posts: 847 Joined: May 2011
Reputation:
11
Here is a more in depth guide to increasing memory for java that I have made.
Default Java Memory is around 500MB. Not enough especially for Minecraft
This will increase your FPS aleast 30fps usually. Very useful for thoses who suffer with poor fps or lag.
FIRST!!! Check How Much RAM You Have:
Click Start and Type System Information. Click on it and it should show you the Available & Physical Memory on your Computer
Once your done go to the first step.
Step One: Open Notepad or Notepad++
Step Two:Type @ECHO OFF
Step Three: Select the type below if you have 64-Bit or 32-Bit Java.
"C:\Program Files (x86)\Java\jre6\bin\javaw.exe" (Default Java 6 Version 29 32-Bit - Most Common if You didn't manually download 64-Bit Version
"C:\Program Files\Java\jre6\bin\javaw.exe" (Default Java 6 Version 29 64-Bit
If you downloaded 64-Bit Java)
I recommend 1G or 2G minimium
Type Xmx2048m or 2g (This would equal 2GB of Java Memory)
m = Megabytes
g = Gigabytes
I recommend 1G or 2G minimium
Increasing even more than 2GB gives you more FPS. I have mine set at 4GB
Step Four Type: -Jar "Location of Minecraft.exe" (Example "D:\Minecraft.exe")
Now Check if your typed everything correctly and it looks similar to mine. Example:
@ECHO OFF
"C:\Program Files\Java\jre6\bin\javaw.exe" -Xmx4g -Xms4g -jar "D:\Minecraft.exe"
@ECHO OFF
"C:\Program Files (x86)\Java\jre6\bin\javaw.exe" -Xmx4g -Xms4g -jar "D:\Minecraft.exe"
Once your done save the file type typing Minecraft.bat and save to your desktop.
When you launch it should show Command Prompt and Launch Minecraft.
Click Singleplayer and Press F3 to check if it is all right. If yes you have completed the tutorial.
Default Java Memory is around 500MB. Not enough especially for Minecraft
This will increase your FPS aleast 30fps usually. Very useful for thoses who suffer with poor fps or lag.
FIRST!!! Check How Much RAM You Have:
Click Start and Type System Information. Click on it and it should show you the Available & Physical Memory on your Computer
Once your done go to the first step.
Step One: Open Notepad or Notepad++
Step Two:Type @ECHO OFF
Step Three: Select the type below if you have 64-Bit or 32-Bit Java.
"C:\Program Files (x86)\Java\jre6\bin\javaw.exe" (Default Java 6 Version 29 32-Bit - Most Common if You didn't manually download 64-Bit Version
"C:\Program Files\Java\jre6\bin\javaw.exe" (Default Java 6 Version 29 64-Bit
If you downloaded 64-Bit Java)
I recommend 1G or 2G minimium
Type Xmx2048m or 2g (This would equal 2GB of Java Memory)
m = Megabytes
g = Gigabytes
I recommend 1G or 2G minimium
Increasing even more than 2GB gives you more FPS. I have mine set at 4GB
Step Four Type: -Jar "Location of Minecraft.exe" (Example "D:\Minecraft.exe")
Now Check if your typed everything correctly and it looks similar to mine. Example:
@ECHO OFF
"C:\Program Files\Java\jre6\bin\javaw.exe" -Xmx4g -Xms4g -jar "D:\Minecraft.exe"
@ECHO OFF
"C:\Program Files (x86)\Java\jre6\bin\javaw.exe" -Xmx4g -Xms4g -jar "D:\Minecraft.exe"
Once your done save the file type typing Minecraft.bat and save to your desktop.
When you launch it should show Command Prompt and Launch Minecraft.
Click Singleplayer and Press F3 to check if it is all right. If yes you have completed the tutorial.
(This post was last modified: 12-14-2011, 02:11 PM by Adam.)
Posts: 611 Joined: Feb 2010
Reputation:
6
ok i admit i rushed it abit :P
but @echo off is optional
but it is odd that you have your Xms the same as your RAM,with all tutorials i have seen it tells you to put it to half your RAM
anyway i think this thread should be closed and your more in-depth guide put into a new thread,thanks bamf.
but @echo off is optional
but it is odd that you have your Xms the same as your RAM,with all tutorials i have seen it tells you to put it to half your RAM
anyway i think this thread should be closed and your more in-depth guide put into a new thread,thanks bamf.
Posts: 847 Joined: May 2011
Reputation:
11
Users browsing this thread: 1 Guest(s)