Windows 7 Forums


Windows 7: How do I add memory to Minecraft

23 Jul 2012  
ComputerN00b

Windows 7 Home Premium 64bit
32 posts
 
 
How do I add memory to Minecraft

Hi all I have seen a couple of tutorials on how to add memory to Minecraft but none of them have worked very effervescently what is the best way I could do this ?

My System SpecsSystem Spec

23 Jul 2012  
Everlong

Windows 8 Professional x64
3,333 posts
Morecambe, Lancashire, England
 
 

Make sure you have 64 bit Java installed as you're using 64 bit Windows.

Open Notepad and add this line to it:

javaw -Xmx7168m -Xms3584m -jar "<your minecraft directory\Minecraft.exe"

Fill in the Minecraft directory with where your Minecraft.exe is located. Save the Notepad file as a .bat file (change the "save as type" in the Save dialog and save it as MinecraftMem.bat or something), then simply right click on the batch file and run as administrator and it should increase the memory Minecraft is allowed to use.

For background info on what the batch file will be doing.

The -Xmx command is the maximum amount of memory Minecraft can use. As you have 8GB of RAM in your system, this is setting the maximum amount of RAM Minecraft can use to 7GB. The -Xms command is the initial amount of memory allocated is the amount available for direct usage. Obviously you can switch the values around to what you actually want to use, but I'd say they are adequate values.
My System SpecsSystem Spec
23 Jul 2012  
ComputerN00b

Windows 7 Home Premium 64bit
32 posts
 
 

Well thanks for your reply but this is what i typed: javaw -Xmx7168m -Xms3584m -jar C:\Users\Meer Gallagher\Games\Sandbox\Mineceaft.exe and i opend the file and it said this: Error:unable to acess jar file C:\Users\Meer Gallagher\Games\Sandbox\Mineceaft.exe
My System SpecsSystem Spec
.


23 Jul 2012  
Everlong

Windows 8 Professional x64
3,333 posts
Morecambe, Lancashire, England
 
 

Is "Mineceaft" a spelling mistake or is your Minecraft.exe really named that?
My System SpecsSystem Spec
23 Jul 2012  
vaidas3

Windows 7 pro 64bit. (SP1)
343 posts
 
 

Quote   Quote: Originally Posted by ComputerN00b View Post
Well thanks for your reply but this is what i typed: javaw -Xmx7168m -Xms3584m -jar C:\Users\Meer Gallagher\Games\Sandbox\Mineceaft.exe and i opend the file and it said this: Error:unable to acess jar file C:\Users\Meer Gallagher\Games\Sandbox\Mineceaft.exe
i think you forgot "" for path.
My System SpecsSystem Spec
23 Jul 2012  
ComputerN00b

Windows 7 Home Premium 64bit
32 posts
 
 

ok well im an idiot for that but i changed it and it still says that ???
My System SpecsSystem Spec
23 Jul 2012  
vaidas3

Windows 7 pro 64bit. (SP1)
343 posts
 
 

Quote   Quote: Originally Posted by ComputerN00b View Post
ok well im an idiot for that but i changed it and it still says that ???
try run as administrator
My System SpecsSystem Spec
23 Jul 2012  
ComputerN00b

Windows 7 Home Premium 64bit
32 posts
 
 

no sorry that comment was to the eirlier post: Is "Mineceaft" a spelling mistake or is your Minecraft.exe really named that? yours worked but now im going to raise another question with the current specs of my computer is there anyway i could run sphax pure bd craft 512x + sonic Esthers unbelievable shaders mod ?
My System SpecsSystem Spec
23 Jul 2012  
ComputerN00b

Windows 7 Home Premium 64bit
32 posts
 
 

ohh i forgot to mention at far render distane
My System SpecsSystem Spec
23 Jul 2012  
ComputerN00b

Windows 7 Home Premium 64bit
32 posts
 
 

and also the original reply only works if you open it via that every time is there a better way that would make the effect permanent ?
My System SpecsSystem Spec
Reply

 How do I add memory to Minecraft problems?



Thread Tools



Similar help and support threads for: How do I add memory to Minecraft
Thread Forum
Help with allocating more memory to Minecraft Gaming
Help with allocating more memory to Minecraft Gaming
minecraft Gaming
Addicted to MineCraft Gaming
Minecraft anyone else play?? Gaming


All times are GMT -5. The time now is 02:48 PM.



Windows 7 Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows 7" and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd